aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-03-18 13:19:14 -0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-04-01 05:55:01 -0400
commit5a7513adab521909e836fa5b9aaabbf22b48859f (patch)
tree438976107899ac0787e5a53964daea7f394868e4 /drivers/ide
parent902470085406934d3f20c4af02de7d79c01b6b93 (diff)
can: c_can: Simplify TX interrupt cleanup
The function loads the message object from the hardware to get the payload length. The previous patch stores that information in an array, so we can avoid the hardware access. Remove the hardware access and move the led toggle outside of the spinlocked region. Toggle the led only once when at least one packet has been received. Binary size shrinks along with the code Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions