Remove unused parameters from hmap_gen_patch()

Signed-off-by: Paul Holden <paulholden2@gmail.com>