summaryrefslogtreecommitdiff
path: root/lib/test_kmod.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-26 12:34:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-28 18:33:23 +0300
commitfd08611317a3397d8dd54c68e98afc8396fa11f7 (patch)
treecdb621c8cd46fcac06a8e951ad9eb9653950e1f2 /lib/test_kmod.c
parentd026d70a2e9460dc701d20b48672b80a2656006d (diff)
downloadlinux-fd08611317a3397d8dd54c68e98afc8396fa11f7.tar.xz
nvmem: core: remove unneeded NULL check
"p" is the list iterator so it can't be NULL. Static checkers complain about this unnecessary check because we dereference the list iterator to get the next item in the list so we'd be in trouble if it really was NULL. I have removed the check. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_kmod.c')
0 files changed, 0 insertions, 0 deletions