Skip to content
Commit db31e6f1 authored by Ruan Jinjie's avatar Ruan Jinjie Committed by Marc Kleine-Budde
Browse files

can: c_can: Do not check for 0 return after calling platform_get_irq()



It is not possible for platform_get_irq() to return 0. Use the
return value from platform_get_irq().

Signed-off-by: default avatarRuan Jinjie <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/all/20230802030900.2271322-1-ruanjinjie@huawei.com


Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 7016198b
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