icom: fixing a if clause spaghetti
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Thu, 11 Jun 2009 12:02:59 +0000 (13:02 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:02 +0000 (08:51 -0700)
commitaba6593bf77371e71331ba76dacc98b47760cba3
treeae324b0d1a419b2a2416c99d882c0a0c2211ffd3
parent13858d36903990441a89eb342247b71436808eeb
icom: fixing a if clause spaghetti

adapter->version can only be ADAPTER_V2 or ADAPTER_V1. So,
that OR operand in the "if" clause is non-sense and can be removed.

Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/icom.c