diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-02-11 12:24:30 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-13 19:50:43 -0800 |
commit | ff0011cf56014b4dfe88adc35e36a25df63d5005 (patch) | |
tree | bae97ed82574dc7a341da81fb19009e555a4b23c /include/net/dropreason.h | |
parent | 1dc55923296dee3eda1816bcf36be8ab064882e0 (diff) | |
download | lwn-ff0011cf56014b4dfe88adc35e36a25df63d5005.tar.gz lwn-ff0011cf56014b4dfe88adc35e36a25df63d5005.zip |
net: stmmac: Make stmmac_dvr_remove() return void
The function returns zero unconditionally. Change it to return void instead
which simplifies some callers as error handing becomes unnecessary.
This also makes it more obvious that most platform remove callbacks always
return zero.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230211112431.214252-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/dropreason.h')
0 files changed, 0 insertions, 0 deletions