From: Wei Yongjun Date: Wed, 25 Feb 2009 00:41:03 +0000 (+0000) Subject: iucv: remove some pointless conditionals before kfree_skb() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=47a30b26e58ab7e56e5654766fd678a4b90010e3;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git iucv: remove some pointless conditionals before kfree_skb() Remove some pointless conditionals before kfree_skb(). Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c index eb8a2a0b6eb7..49e786535dc8 100644 --- a/net/iucv/af_iucv.c +++ b/net/iucv/af_iucv.c @@ -1171,8 +1171,7 @@ static void iucv_callback_txdone(struct iucv_path *path, spin_unlock_irqrestore(&list->lock, flags); - if (this) - kfree_skb(this); + kfree_skb(this); } BUG_ON(!this);