Re: [PATCH linux-next] can: sja1000: remove redundant variable ret

From: Marc Kleine-Budde
Date: Mon Sep 05 2022 - 12:12:13 EST


On 31.08.2022 16:18:35, cgel.zte@xxxxxxxxx wrote:
> From: Jinpeng Cui <cui.jinpeng2@xxxxxxxxxx>
>
> Return value directly from register_candev() instead of
> getting value from redundant variable ret.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Jinpeng Cui <cui.jinpeng2@xxxxxxxxxx>

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 |

Attachment: signature.asc
Description: PGP signature