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)
commit1d5b4b2778e8e40f42ae5d9556777583f3556d81
treeab130f9f063f336ad042f04c37b6cf66aaba1e06
parent8ac9702b9d5d81b819fc7d6b4f6abad22af01f3c
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