]> git.baikalelectronics.ru Git - kernel.git/commit
mISDN: remove redundant null pointer check before kfree_skb
authorzhong jiang <zhongjiang@huawei.com>
Thu, 20 Sep 2018 14:27:28 +0000 (22:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Sep 2018 16:09:22 +0000 (09:09 -0700)
commitdae8f9ec6e46c815e6df82809f0e13832e6362ed
treea45d86dadbd10bab9f2c5269e962281684f348db
parentcb21c303035b2c8d58a6a34331a86ecd7c25ed24
mISDN: remove redundant null pointer check before kfree_skb

kfree_skb has taken the null pointer into account. hence it is safe
to remove the redundant null pointer check before kfree_skb.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/socket.c