chelsio: remove some pointless conditionals before kfree_skb()

Remove some pointless conditionals before kfree_skb().

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Wei Yongjun 2009-02-25 00:45:09 +00:00 committed by David S. Miller
parent c3431ea71e
commit f4fe5a9c6d
1 changed files with 1 additions and 2 deletions

View File

@ -1967,8 +1967,7 @@ void t1_sge_stop(struct sge *sge)
tx_sched_stop(sge); tx_sched_stop(sge);
for (i = 0; i < MAX_NPORTS; i++) for (i = 0; i < MAX_NPORTS; i++)
if (sge->espibug_skb[i]) kfree_skb(sge->espibug_skb[i]);
kfree_skb(sge->espibug_skb[i]);
} }
/* /*