Skip to content
Snippets Groups Projects
Commit 49d4388e authored by Thomas Huth's avatar Thomas Huth
Browse files

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: default avatarCornelia Huck <cohuck@redhat.com>
Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
parent 5dc739f3
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment