]> git.baikalelectronics.ru Git - kernel.git/commit
net: au1000 eth: simplify logical expression
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Tue, 17 May 2016 23:58:45 +0000 (01:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2016 18:32:05 +0000 (11:32 -0700)
commit1f90890d5dc486fcda224b05403bb8d6092c6b37
treebcdf83d059d893b691993922030e255a214079d8
parent78df20e0d1ff57bf3bea5b5c035e5614bd799ab3
net: au1000 eth: simplify logical expression

(a && a > 0) is equivalent to (a > 0).

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/au1000_eth.c