]> www.infradead.org Git - users/jedix/linux-maple.git/commit
can: sun4i_can: continue to use likely() to check skb
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Fri, 22 Nov 2024 22:15:44 +0000 (23:15 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 23 Dec 2024 11:39:12 +0000 (12:39 +0100)
commitbddad4fac9f73c14f57b111058dd0fa6d9ede228
treea1ff1f36618b862fc051b9a2eb224e1ba85e4b61
parentad79f18ba443222f9c0bfb188e2d93f8f029803f
can: sun4i_can: continue to use likely() to check skb

Throughout the sun4i_can_err() function, the likely() macro is used to
check the skb buffer, except in one instance. This patch makes the code
consistent by using the macro in that case as well.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://patch.msgid.link/20241122221650.633981-4-dario.binacchi@amarulasolutions.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sun4i_can.c