summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorXichao Zhao <zhao.xichao@vivo.com>2025-08-20 16:57:49 +0800
committerJakub Kicinski <kuba@kernel.org>2025-08-21 15:51:42 -0700
commit5e91879a7a4e9a0e6d914cb03549944848ed428d (patch)
tree774b13cb18a0a313b6d0d557063c4f0db1af09c2 /rust/helpers/helpers.c
parented1e7e22571c29ccb4069c8eb92bf1ad1fbcc95c (diff)
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: Xichao Zhao <zhao.xichao@vivo.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20250820085749.397586-3-zhao.xichao@vivo.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions