net/tg3: simplify conditional
authorNicolas Kaiser <nikai@nikai.net>
Thu, 7 Oct 2010 23:29:27 +0000 (23:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Oct 2010 16:22:54 +0000 (09:22 -0700)
commit2259dca36a2f0226596ea37132a46338fcff6722
tree38a775d1c3240c4a65787de82fa69d062b3a3ce3
parentaa3bc6c68e3c1064969f5f2962be84491ffb69a0
net/tg3: simplify conditional

Simplify: ((a && !b) || (!a && b)) => (a != b)

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c