iucv: remove some pointless conditionals before kfree_skb()

Remove some pointless conditionals before kfree_skb().

Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Wei Yongjun 2009-02-25 00:41:03 +00:00 • committed by David S. Miller
commit 47a30b26e5

View file

@ -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);