linux/drivers/nubus
Uwe Kleine-König f52c9ccb86 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 <fthain@linux-m68k.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20210730191035.1455248-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-05 14:37:03 +02:00
..
bus.c nubus: Simplify check in remove callback 2021-08-05 14:37:03 +02:00
Makefile
nubus.c nubus: Remove cast to void pointer 2019-10-21 09:08:15 +02:00
proc.c