]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe5163a21c7eed4cf1e54b4f18841f4c10fda59d
tree65ebb001d62c964b704365c9efc6a0659b619215
parentbc2c48ccfe27233ca19072976dd74ecfbe6162cf
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