aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2015-01-31 18:10:03 +0100
committerDavid S. Miller <[email protected]>2015-02-02 19:29:43 -0800
commit7d37d0c1591b95ec4e663f7c00eccd5938797a99 (patch)
treed4baedc4342665099f769f08c405c19dbb0bf3fe /net/unix/sysctl_net_unix.c
parent193cdc4a041cedf82967390879d0b9bab5278e92 (diff)
net: sctp: Deletion of an unnecessary check before the function call "kfree"
The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Acked-By: Neil Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions