Testing bytes_compl should be enough, because there is no way
that pkt_compl could be 0 if bytes_compl is not 0.
Signed-off-by: Ding Tianhong dingtianh...@huawei.com
Cc: David S. Miller da...@davemloft.net
Cc: Eric Dumazet eric.duma...@gmail.com
Cc: Arnd Bergmann a...@arndb.de
Cc: Zhangfei Gao
On Wednesday 15 April 2015 20:30:07 Ding Tianhong wrote:
diff --git a/drivers/net/ethernet/hisilicon/hip04_eth.c
b/drivers/net/ethernet/hisilicon/hip04_eth.c
index ff9d19c..a7ab1d9 100644
--- a/drivers/net/ethernet/hisilicon/hip04_eth.c
+++ b/drivers/net/ethernet/hisilicon/hip04_eth.c
@@