Skip to content
Commit 3a71eba6 authored by Jinpeng Cui's avatar Jinpeng Cui Committed by Marc Kleine-Budde
Browse files

can: sja1000: remove redundant variable ret



Return value directly from register_candev() instead of
getting value from redundant variable ret.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarJinpeng Cui <cui.jinpeng2@zte.com.cn>
Link: https://lore.kernel.org/all/20220831161835.306079-1-cui.jinpeng2@zte.com.cn


Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 0838921b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment