summaryrefslogtreecommitdiff
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-03-18 17:19:14 (GMT)
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-04-01 09:55:01 (GMT)
commit5a7513adab521909e836fa5b9aaabbf22b48859f (patch)
tree438976107899ac0787e5a53964daea7f394868e4 /drivers/net/wireless
parent902470085406934d3f20c4af02de7d79c01b6b93 (diff)
downloadlinux-5a7513adab521909e836fa5b9aaabbf22b48859f.tar.xz
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/net/wireless')
0 files changed, 0 insertions, 0 deletions