commit | 902470085406934d3f20c4af02de7d79c01b6b93 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Tue Mar 18 17:19:14 2014 +0000 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Tue Apr 01 11:55:01 2014 +0200 |
tree | de6f4ce87f4fc9495e4a63924c2d1641228e5117 | |
parent | c0a9f4d396c9d3cf34d21e318a422f9461d93042 [diff] |
can: c_can: Store dlc private We can avoid the HW access in TX cleanup path for retrieving the DLC of the sent package if we store the DLC in a private array. Ideally this should be handled in the can_echo_skb functions, but I leave that exercise to the CAN folks. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>