OSDN Git Service

fdc: Inline fdctrl_connect_drives() into fdctrl_realize_common()
authorMarkus Armbruster <armbru@redhat.com>
Tue, 9 Mar 2021 16:12:12 +0000 (17:12 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 19 Mar 2021 14:18:43 +0000 (15:18 +0100)
commitf2a9a6c2a86570ccbf8c5c30cbb8bf723168c459
treec719f48fbd70d35293582ce89d973ec6dbcddc82
parent36585e2b12c25133b88fc8acfc5c603b0b539074
fdc: Inline fdctrl_connect_drives() into fdctrl_realize_common()

The previous commit rendered the name fdctrl_connect_drives() somewhat
misleading.  Get rid of it by inlining the (now pretty simple)
function into its only caller.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20210309161214.1402527-4-armbru@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
hw/block/fdc.c