net: s2io: simplify logical constraint
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 31 Jul 2016 09:53:57 +0000 (11:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Aug 2016 20:32:52 +0000 (13:32 -0700)
commit6d85a1bf4fd32e2e639e88a418f7c0e85e78659a
tree95d8f7ab6c553fe998b5aa5275a2be7ba1e6abea
parent8d546f58ec441d1377457b2134fb27ba2455d9f8
net: s2io: simplify logical constraint

(!A || (A && B)) is equivalent to (!A || B)

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/neterion/s2io.c