pc: remove a global variable, floppy_controller.
commit01b9e8c10e95446b2800b1403f1c3ff8defb54c5
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 14 May 2010 07:29:06 +0000 (14 16:29 +0900)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 15 May 2010 15:38:58 +0000 (15 15:38 +0000)
tree260d588f3036ca45342fd8a92775cbf56a6d0524
parent57864959a4279dbea07e039a54f5022488f135cb
pc: remove a global variable, floppy_controller.

Remove a global variable, floppy_controller.
Since it is unnecessarily global, make it local and pass it as
a function argument.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/pc.c