fdc: reduce number of pick_geometry arguments
commit21862658fdd1f3024cb477834a959588cfad036f
authorJohn Snow <jsnow@redhat.com>
Fri, 22 Jan 2016 20:50:55 +0000 (22 15:50 -0500)
committerJohn Snow <jsnow@redhat.com>
Mon, 25 Jan 2016 19:35:23 +0000 (25 14:35 -0500)
tree73ea785f937aeac7450935136046df451f9710ed
parent9a97223399f58986d85dad457c8f69d484ed822b
fdc: reduce number of pick_geometry arguments

Modify this function to operate directly on FDrive objects instead of
unpacking and passing all of those parameters manually. Reduces the
complexity in the caller and reduces the number of args to just one.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1453495865-9649-3-git-send-email-jsnow@redhat.com
hw/block/fdc.c