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)
commit66ab23598696072c19344591f8d9846332e66e23
treea45d86dadbd10bab9f2c5269e962281684f348db
parent8a1aff144d37af492034a9a11a8c6ad3b687a441
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