summaryrefslogtreecommitdiff
path: root/drivers/s390/block/scm_drv.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-07-13 21:35:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 11:53:42 +0200
commit7a47c52142c18a9239c5afea2c9656c68d3f22e7 (patch)
tree73e52a993bd3b7e4c437d26382115ef5f9a6c41f /drivers/s390/block/scm_drv.c
parenta7bdb9a9767360c2b4096bbb379e73022b274483 (diff)
s390/ccwgroup: Drop if with an always false condition
The driver core only calls a bus remove callback when there is a driver. So dev->driver is never NULL and the check can safely be removed. Reviewed-by: Cornelia Huck <cohuck@redhat.com> Acked-by: Vineeth Vijayan <vneethv@linux.ibm.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20210713193522.1770306-4-u.kleine-koenig@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/s390/block/scm_drv.c')
0 files changed, 0 insertions, 0 deletions