Do some small optimizations for can_raw.
Ziyang Xuan (2):
can: raw: process optimization in raw_init()
can: raw: use guard clause to optimize nesting in raw_rcv()
net/can/raw.c | 27 +++++++++++++++++----------
1 file changed, 17 insertions(+), 10 deletions(-)
--
2.25.1
On 27.08.2022 15:20:09, Ziyang Xuan wrote:
> Do some small optimizations for can_raw.
Applied to linux-can-next.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |