aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-07-26 11:34:47 +0200
committerGreg Kroah-Hartman <[email protected]>2017-08-28 17:33:23 +0200
commitfd08611317a3397d8dd54c68e98afc8396fa11f7 (patch)
treecdb621c8cd46fcac06a8e951ad9eb9653950e1f2 /net/unix/sysctl_net_unix.c
parentd026d70a2e9460dc701d20b48672b80a2656006d (diff)
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 <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions