]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
fdc: Open-code fdctrl_init_isa()
authorMarkus Armbruster <armbru@redhat.com>
Mon, 22 Jun 2020 09:42:16 +0000 (11:42 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 23 Jun 2020 14:07:07 +0000 (16:07 +0200)
commitfed2c1731c3dfdcf2d69a3ba73da01a80950bcfd
treef3f263675124c76d430544a05737badeff2b81a4
parent6172e067a4f2a521ace14f7d0d88c6df76e26eab
fdc: Open-code fdctrl_init_isa()

Helper function fdctrl_init_isa() is less than helpful: one of three
places creating "isa-fdc" devices use it.  Open-code it there, and
drop the function.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200622094227.1271650-6-armbru@redhat.com>
hw/block/fdc.c
hw/i386/pc.c
include/hw/block/fdc.h