Skip to content
Commit 3bc5342c authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Thomas Bogendoerfer
Browse files

mips: sgi-ip22: Drop redundant check from .remove()



The remove callback is only called by the driver core if there is a
driver to unbind, so there is no need to check dev->driver to be
non-NULL.

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 7dbdf04d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment