Subject: [PATCH] iucv: remove some pointless conditionals before kfree_skb()

From: Wei Yongjun <[email-masked]>
Date: Wed, 25 Feb 2009 18:41:03 +0800

Remove some pointless conditionals before kfree_skb().

Signed-off-by: Wei Yongjun <[email-masked]>
---
 net/iucv/af_iucv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c
index eb8a2a0..49e7865 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);
 
-- 
1.5.3.8