diff options
| author | Uwe Kleine-König <[email protected]> | 2021-07-13 19:35:20 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-07-21 09:53:42 +0000 |
| commit | 7a47c52142c18a9239c5afea2c9656c68d3f22e7 (patch) | |
| tree | 73e52a993bd3b7e4c437d26382115ef5f9a6c41f /drivers/fpga/dfl.c | |
| parent | s390/cio: Make struct css_driver::remove return void (diff) | |
| download | kernel-7a47c52142c18a9239c5afea2c9656c68d3f22e7.tar.gz kernel-7a47c52142c18a9239c5afea2c9656c68d3f22e7.zip | |
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 <[email protected]>
Acked-by: Vineeth Vijayan <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/dfl.c')
0 files changed, 0 insertions, 0 deletions
