]> git.baikalelectronics.ru Git - kernel.git/commit
ipc/mqueue.c: delete an unnecessary check before the macro call dev_kfree_skb()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 25 Sep 2019 23:48:14 +0000 (16:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Sep 2019 00:51:41 +0000 (17:51 -0700)
commit83312cc369c42290098cc41818d76ce0cc5c0264
tree13eca210e2b092ab56070e9574e3e05af7b94306
parentfaa331df968a6fe9149616d150e45fb25fc3a16e
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/07477187-63e5-cc80-34c1-32dd16b38e12@web.de
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/mqueue.c