diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-02-11 12:24:31 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-13 19:50:43 -0800 |
commit | 1a940b00013a468c0c9dd79dbb485c3ad273939e (patch) | |
tree | b25858b3d88e00c6b3651f1270a54e25671c3d1d /include/net/dropreason.h | |
parent | ff0011cf56014b4dfe88adc35e36a25df63d5005 (diff) | |
download | lwn-1a940b00013a468c0c9dd79dbb485c3ad273939e.tar.gz lwn-1a940b00013a468c0c9dd79dbb485c3ad273939e.zip |
net: stmmac: dwc-qos: Make struct dwc_eth_dwmac_data::remove return void
All implementations of the remove callback return 0 unconditionally. So
in dwc_eth_dwmac_remove() there is no error handling necessary. Simplify
accordingly.
This is a preparation for making struct platform_driver::remove return
void, too.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230211112431.214252-2-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