Skip to content
Commit 5cfe53cf authored by Yang Yingliang's avatar Yang Yingliang Committed by Jakub Kicinski
Browse files

mctp: remove unnecessary check before calling kfree_skb()



The skb will be checked inside kfree_skb(), so remove the
outside check.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20211130031243.768823-1-yangyingliang@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 196073f9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment