From: Thomas Huth Date: Thu, 6 Aug 2020 09:41:51 +0000 (+0200) Subject: pc-bios/s390-ccw/main: Remove superfluous call to enable_subchannel() X-Git-Tag: v5.2.0-rc0~70^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49d4388ec03fd8c7701b907a4e11c437a28f8572;p=thirdparty%2Fqemu.git pc-bios/s390-ccw/main: Remove superfluous call to enable_subchannel() 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 Signed-off-by: Thomas Huth --- diff --git a/pc-bios/s390-ccw/main.c b/pc-bios/s390-ccw/main.c index fc17e6ab833..43c792cf950 100644 --- a/pc-bios/s390-ccw/main.c +++ b/pc-bios/s390-ccw/main.c @@ -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();