diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-07-13 21:35:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 11:53:42 +0200 |
commit | 7a47c52142c18a9239c5afea2c9656c68d3f22e7 (patch) | |
tree | 73e52a993bd3b7e4c437d26382115ef5f9a6c41f /drivers/clk/pistachio | |
parent | a7bdb9a9767360c2b4096bbb379e73022b274483 (diff) | |
download | linux-7a47c52142c18a9239c5afea2c9656c68d3f22e7.tar.bz2 |
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/clk/pistachio')
0 files changed, 0 insertions, 0 deletions