]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: Remove duplicate test for tx_coalesce_usecs_high
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 18 Sep 2015 21:16:53 +0000 (14:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2015 23:26:12 +0000 (16:26 -0700)
commit9565245477f65dd035b1cc9c8b3663e7b56f1c74
treeec50d493749852bd99aea6b323eef57b2cb2193a
parentd5797ec760aca3381474fd8aba55feafd5d0cde3
net: bcmgenet: Remove duplicate test for tx_coalesce_usecs_high

We were checking twice for ec->tx_coalesce_usecs_high, remove the
duplicate test.

Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Reported-by: kbuild-all@01.org
Fixes: a1051bed0c236b ("net: bcmgenet: Implement TX coalescing control knobs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c