Commit 5e91879a authored by Xichao Zhao's avatar Xichao Zhao Committed by Jakub Kicinski
Browse files

net: dsa: Remove the use of dev_err_probe()



The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.

Signed-off-by: default avatarXichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250820085749.397586-3-zhao.xichao@vivo.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent ed1e7e22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment