fdc: Code cleanup in fdctrl_write_data()
commitd275b33d76c8ed9d5a3dca22ea0fdec8d5a5c8e6
authorKevin Wolf <kwolf@redhat.com>
Thu, 21 May 2015 13:19:35 +0000 (21 15:19 +0200)
committerJohn Snow <jsnow@redhat.com>
Tue, 2 Jun 2015 17:34:44 +0000 (2 13:34 -0400)
treebf46ebbe3b048c111f0c11ddd8e13ec8fcc8acf3
parent5b0a25e8d2f15f89255c745c71d297b5b24d138c
fdc: Code cleanup in fdctrl_write_data()

Factor out a few common lines of code, reformat, improve comments.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1432214378-31891-6-git-send-email-kwolf@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
hw/block/fdc.c