Skip to content
Commit 8fa12201 authored by Xulin Sun's avatar Xulin Sun Committed by Marc Kleine-Budde
Browse files

can: m_can: m_can_class_allocate_dev(): remove impossible error return judgment



If the CAN net device has been successfully allocated, its private
data structure is impossible to be empty, remove this redundant error
return judgment.

Link: https://lore.kernel.org/r/20210205072559.13241-2-xulin.sun@windriver.com
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 58b29aa9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment