[PATCH net-next 5/6] net: hip04: remove the unnecessary check

2015-04-15 Thread Ding Tianhong
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

Re: [PATCH net-next 5/6] net: hip04: remove the unnecessary check

2015-04-15 Thread Arnd Bergmann
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 @@