提交 f4fe5a9c 编写于 作者: W Wei Yongjun 提交者: David S. Miller

chelsio: remove some pointless conditionals before kfree_skb()

Remove some pointless conditionals before kfree_skb().
Signed-off-by: NWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部