aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-04-06 20:10:35 -0700
committerLinus Torvalds <[email protected]>2020-04-07 10:43:43 -0700
commit8f0259c27c850403c6a2076ef07180dd802da559 (patch)
treef152f5ddef91eeb3eb30a24f3f2e81d118da99dd /scripts/gdb/linux/device.py
parent8d994cada27c565adfaa5ac524cc1bc099668dfd (diff)
lib/test_kmod.c: remove a NULL test
The "info" pointer has already been dereferenced so checking here is too late. Fortunately, we never pass NULL pointers to the test_kmod_put_module() function so the test can simply be removed. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Luis Chamberlain <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions