mirror of https://gitee.com/openkylin/linux.git
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:
parent
c3431ea71e
commit
f4fe5a9c6d
|
@ -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]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue