aboutsummaryrefslogtreecommitdiffstats
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2019-09-25 23:48:14 +0000
committerLinus Torvalds <[email protected]>2019-09-26 00:51:41 +0000
commit97b0b1ad58fab9f71b1a6bc056a09af6065ec3bc (patch)
tree13eca210e2b092ab56070e9574e3e05af7b94306 /lib/strncpy_from_user.c
parentbug: move WARN_ON() "cut here" into exception handler (diff)
downloadkernel-97b0b1ad58fab9f71b1a6bc056a09af6065ec3bc.tar.gz
kernel-97b0b1ad58fab9f71b1a6bc056a09af6065ec3bc.zip
ipc/mqueue.c: delete an unnecessary check before the macro call dev_kfree_skb()
dev_kfree_skb() input parameter validation, thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Markus Elfring <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Manfred Spraul <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions