ehea: simplify conditional
authorNicolas Kaiser <nikai@nikai.net>
Thu, 7 Oct 2010 13:14:50 +0000 (13:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Oct 2010 16:22:53 +0000 (09:22 -0700)
commitaa3bc6c68e3c1064969f5f2962be84491ffb69a0
treef515ff4bc43d7acadaa1d227105db49b1c8dfd8c
parente18434c45765cfc4a74b5c61da9e9fbc6ddd3d5f
ehea: simplify conditional

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

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Acked-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ehea/ehea_main.c