]> git.baikalelectronics.ru Git - kernel.git/commit
pch_can: Improve rx processing
authorTomoya <tomoya-linux@dsn.okisemi.com>
Sun, 12 Dec 2010 20:24:10 +0000 (20:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Dec 2010 20:24:20 +0000 (12:24 -0800)
commit3925e46df458ed70b5914cbce6be17e9cde296e2
treeab130f9f063f336ad042f04c37b6cf66aaba1e06
parent69009887c8d0b24bf855b8f2ac8139655a266ac0
pch_can: Improve rx processing

Replace complex "goto" to "do~while".
For easy to read/understand, it divides a rx function into some functions.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/pch_can.c