pc-bios/s390-ccw: Move the inner logic of find_subch() to a separate function
commitd2cf4af1f4af02f6f2d5827d9a06c31690084d3b
authorThomas Huth <thuth@redhat.com>
Tue, 28 Jul 2020 13:50:31 +0000 (28 15:50 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 6 Oct 2020 17:36:50 +0000 (6 19:36 +0200)
tree0cbef3f103e0b7ebe447aff75e45168cd52ddcd5
parentf3180b0266386b31deb7bb83fcaea68af7d1bcee
pc-bios/s390-ccw: Move the inner logic of find_subch() to a separate function

Move the code to a separate function to be able to re-use it from a
different spot later.

Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-Id: <20200806105349.632-5-thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/main.c