aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-08-03 08:35:20 +0000
committerGreg Kroah-Hartman <[email protected]>2020-09-07 09:24:17 +0000
commit07ecc6693f9157cf293da5d165c73fb28fd69bf4 (patch)
tree7209b52a587f76c34c8a6be0dfcb5b32a0df67a6 /lib/dynamic_debug.c
parentdriver core: Fix device_pm_lock() locking for device links (diff)
downloadkernel-07ecc6693f9157cf293da5d165c73fb28fd69bf4.tar.gz
kernel-07ecc6693f9157cf293da5d165c73fb28fd69bf4.zip
kobject: Drop unneeded conditional in __kobject_del()
__kobject_del() is called from two places, in one where kobj is dereferenced before and thus can't be NULL, and in the other the NULL check is done before call. Drop unneeded conditional in __kobject_del(). Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Rafael J. Wysocki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions