Vineeth Vijayan 2f7484fd73 s390/cio: remove invalid condition on IO_SCH_UNREG
The condition to check the cdev pointer validity on
css_sch_device_unregister() is a leftover from the 'commit 8cc0dcfdc1c0
("s390/cio: remove pm support from ccw bus driver")'. This could lead to a
situation, where detaching the device is not happening completely. Remove
this invalid condition in the IO_SCH_UNREG case.

Link: https://lore.kernel.org/r/20210423100843.2230969-1-vneethv@linux.ibm.com
Fixes: 8cc0dcfdc1c0 ("s390/cio: remove pm support from ccw bus driver")
Reported-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Suggested-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Tested-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Tested-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2021-04-30 17:17:01 +02:00
..
2021-04-27 10:16:46 -07:00
2021-04-27 13:42:11 -07:00
2021-04-26 16:21:16 -07:00
2021-04-23 09:43:42 +02:00
2021-04-26 12:11:52 -07:00
2021-04-26 12:11:52 -07:00
2021-04-27 10:16:46 -07:00
2021-03-22 09:20:06 -07:00
2021-04-26 12:11:52 -07:00
2021-04-26 11:05:36 -07:00
2021-04-26 12:11:52 -07:00
2021-04-26 12:11:52 -07:00
2021-04-27 17:05:53 -07:00
2021-04-26 15:03:23 -07:00
2021-04-26 12:11:52 -07:00
2021-04-08 19:18:07 +02:00
2021-04-26 16:32:11 -07:00
2021-04-26 12:11:52 -07:00
2021-04-27 10:16:46 -07:00
2021-04-27 17:05:53 -07:00
2021-04-26 14:59:21 -07:00
2021-04-27 10:16:46 -07:00
2021-04-26 15:10:25 -07:00
2021-04-26 16:16:09 -07:00
2021-04-26 12:11:52 -07:00
2021-04-26 12:30:36 -07:00
2021-04-26 12:11:52 -07:00
2021-04-26 16:24:42 -07:00
2021-04-08 17:38:20 +02:00
2021-04-17 20:25:33 -07:00
2021-04-26 12:11:52 -07:00
2021-04-27 10:16:46 -07:00
2021-04-26 16:32:11 -07:00
2021-04-26 12:11:52 -07:00
2021-04-26 15:10:25 -07:00
2021-04-26 11:32:23 -07:00
2021-03-18 11:20:35 -07:00
2021-04-26 10:37:45 -07:00