diff options
| author | 2023-03-12 20:51:55 +0100 | |
|---|---|---|
| committer | 2023-03-15 00:28:56 -0700 | |
| commit | 68a84a127bb07d2a47e95c808520f742c54781c7 (patch) | |
| tree | 7c76a6bfc2c284f64c354b85cb7c539f4ae467f0 /drivers/net/dsa/microchip/ksz_common.h | |
| parent | net: Use of_property_present() for testing DT property presence (diff) | |
| download | wireguard-linux-68a84a127bb07d2a47e95c808520f742c54781c7.tar.xz wireguard-linux-68a84a127bb07d2a47e95c808520f742c54781c7.zip | |
net: lan966x: Change lan966x_police_del return type
As the function always returns 0 change the return type to be
void instead of int. In this way also remove a wrong message
in case of error which would never happen.
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230312195155.1492881-1-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.h')
0 files changed, 0 insertions, 0 deletions
