vxge: Fix wrong boolean operator
authorStefan Weil <weil@mail.berlios.de>
Fri, 28 Jan 2011 12:30:17 +0000 (12:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Feb 2011 20:30:23 +0000 (12:30 -0800)
commit48bc9a2ccec98de007117495123bba78a4bbdd9c
tree2eb8103a558a05ffef2039097ab47bdd353a971c
parentfca540ab5f4718c6133f71f7be1793066008bf89
vxge: Fix wrong boolean operator

This error is reported by cppcheck:
drivers/net/vxge/vxge-config.c:3693: warning: Mutual exclusion over || always evaluates to true. Did you intend to use && instead?

It looks like cppcheck is correct, so fix this. No test was run.

Cc: Ramkrishna Vepa <ramkrishna.vepa@exar.com>
Cc: Sivakumar Subramani <sivakumar.subramani@exar.com>
Cc: Sreenivasa Honnur <sreenivasa.honnur@exar.com>
Cc: Jon Mason <jon.mason@exar.com>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Acked-by: Ram Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-config.c