s390/cio: Use generalized CCW handler in cp_init()
authorEric Farman <farman@linux.ibm.com>
Thu, 6 Jun 2019 20:28:26 +0000 (22:28 +0200)
committerCornelia Huck <cohuck@redhat.com>
Mon, 17 Jun 2019 11:29:33 +0000 (13:29 +0200)
commit99afcb05d973f7f74c0c4b8a8c5f6f87c8427aa3
tree9cc68c99a8c9bae7115992d5befed35f0c17f7f4
parent363fe5f7aee0c2001af4cc4d7dd028cfa2eee64a
s390/cio: Use generalized CCW handler in cp_init()

It is now pretty apparent that ccwchain_handle_ccw()
(nee ccwchain_handle_tic()) does everything that cp_init()
wants to do.

Let's remove that duplicated code from cp_init() and let
ccwchain_handle_ccw() handle it itself.

Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20190606202831.44135-5-farman@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
drivers/s390/cio/vfio_ccw_cp.c