pc-bios/s390-ccw/main: Remove superfluous call to enable_subchannel()
authorThomas Huth <thuth@redhat.com>
Thu, 6 Aug 2020 09:41:51 +0000 (11:41 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 6 Oct 2020 17:36:50 +0000 (19:36 +0200)
enable_subchannel() is already done during is_dev_possibly_bootable()
(which is called from find_boot_device() -> find_subch()), so there
is no need to do this again in the main() function.

Message-Id: <20200806105349.632-9-thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/main.c

index fc17e6ab8333f07b0fa03b4550dfa30d2185e793..43c792cf95093d3693507c89232c57836fd269f0 100644 (file)
@@ -280,7 +280,6 @@ int main(void)
     boot_setup();
     if (have_iplb) {
         find_boot_device();
-        enable_subchannel(blk_schid);
         ipl_boot_device();
     } else {
         probe_boot_device();