can: c_can: Make the code readable
authorThomas Gleixner <tglx@linutronix.de>
Tue, 18 Mar 2014 18:27:42 +0000 (19:27 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 1 Apr 2014 09:55:00 +0000 (11:55 +0200)
commit520f570c4378d23b595e52213601d62332174462
tree07d36b28bc951dbe193c823e0bf445b63c62794a
parentbf88a20611d5a62119a02da4eba95b461ec692c8
can: c_can: Make the code readable

If every other line contains line breaks, that's a clear sign for
indentation level madness. Split out the inner loop and move the code
to a separate function. gcc creates slightly worse code for that, but
we'll fix that in the next step.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[mkl: adjusted subject]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can.c