]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0cd179fd3d4e47c53db831ed0f57cbaec4b511a
tree07d36b28bc951dbe193c823e0bf445b63c62794a
parentf9e3b01c1a1c5d6364858699df946da07d65601c
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