diff options
author | Uwe Kleine-König <[email protected]> | 2021-07-30 21:10:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-08-05 14:37:03 +0200 |
commit | f52c9ccb86237378d354f7bd71b6fcc9f3ff7f67 (patch) | |
tree | 37bbcabf0226ff61a278807b4398d811e842977c /drivers/fpga/machxo2-spi.c | |
parent | b2c943e52705b211d1aa0633c9196150cf30be47 (diff) |
nubus: Simplify check in remove callback
The driver core only calls a remove callback when the device was
successfully bound (aka probed) before. So dev->driver is never NULL and
the respective check can just be dropped.
Acked-by: Finn Thain <[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/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions