aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-07-30 19:10:33 +0000
committerGreg Kroah-Hartman <[email protected]>2021-08-05 12:37:03 +0000
commitfe976c4aadae80e4a5a3f665de685ce4f0b0426c (patch)
treeeb8f7c4158459142d39e676e7f92978f168cb233 /net/unix/af_unix.c
parentnubus: Simplify check in remove callback (diff)
downloadkernel-fe976c4aadae80e4a5a3f665de685ce4f0b0426c.tar.gz
kernel-fe976c4aadae80e4a5a3f665de685ce4f0b0426c.zip
sh: superhyway: 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 even if it was NULL, to_superhyway_driver(NULL) isn't ...) 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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions