Commit f4fe5a9c authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller

chelsio: remove some pointless conditionals before kfree_skb()

Remove some pointless conditionals before kfree_skb().
Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c3431ea7
...@@ -1967,8 +1967,7 @@ void t1_sge_stop(struct sge *sge) ...@@ -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]);
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment