pch_can: Optimize "if" condition in rx/tx processing
authorTomoya <tomoya-linux@dsn.okisemi.com>
Sun, 12 Dec 2010 20:24:24 +0000 (20:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Dec 2010 20:24:27 +0000 (12:24 -0800)
commitfea9294c5f2902c45613681ad995ca27899d2016
tree65ebb001d62c964b704365c9efc6a0659b619215
parent3332bc5446e034566e8a56bf7a7cd479ca35bd6d
pch_can: Optimize "if" condition in rx/tx processing

For reduce "if" condition, easy to read/understand the code,
optimize "if" condition in rx/tx processing.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/pch_can.c