Commit 47a30b26 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller

iucv: remove some pointless conditionals before kfree_skb()

Remove some pointless conditionals before kfree_skb().
Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent db849df6
...@@ -1171,8 +1171,7 @@ static void iucv_callback_txdone(struct iucv_path *path, ...@@ -1171,8 +1171,7 @@ static void iucv_callback_txdone(struct iucv_path *path,
spin_unlock_irqrestore(&list->lock, flags); spin_unlock_irqrestore(&list->lock, flags);
if (this) kfree_skb(this);
kfree_skb(this);
} }
BUG_ON(!this); BUG_ON(!this);
......
Markdown is supported
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