Skip to contentSkip to conversation

iucv: remove some pointless conditionals before kfree_skb()

PATCH Applied Wei Yongjun 2 participants 2 messages Feb 25, 2009 – Feb 27, 2009

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iucv: remove some pointless conditionals before kfree_skb()

Remove some pointless conditionals before kfree_skb().

---
 net/iucv/af_iucv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
net/iucv/af_iucv.c +1 -2
index eb8a2a0..49e7865 100644
@@ -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);
 
Signature · 1 line
1.5.3.8