xemu/hw/net/rocker
Rodrigo Dias Correa 35ec474fd6 hw/net/rocker/rocker_of_dpa.c: Remove superfluous error check
of_dpa_cmd_add_acl_ip() is called from a single place, and despite the
fact that it always returns ROCKER_OK, its return value is still checked
by the caller.

Change of_dpa_cmd_add_acl_ip() to return void and remove the superfluous
check from of_dpa_cmd_add_acl().

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2471
Signed-off-by: Rodrigo Dias Correa <r@drigo.nl>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Message-id: 20241114075051.404284-1-r@drigo.nl
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2024-11-19 13:02:05 +00:00
..
qmp-norocker.c rocker: Tweak stubbed out monitor commands' error messages 2023-02-23 14:10:17 +01:00
rocker-hmp-cmds.c rocker: Move HMP commands from monitor to hw/net/rocker/ 2023-02-04 07:56:54 +01:00
rocker.c hw/net/rocker: Remove unused rocker_fp_ports 2024-10-03 17:26:06 +03:00
rocker.h hw/net/rocker: Remove unused rocker_fp_ports 2024-10-03 17:26:06 +03:00
rocker_desc.c bulk: Rename TARGET_FMT_plx -> HWADDR_FMT_plx 2023-01-18 11:14:34 +01:00
rocker_desc.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
rocker_fp.c net: Provide MemReentrancyGuard * to qemu_new_nic() 2023-11-21 15:42:34 +08:00
rocker_fp.h rocker: Revamp fp_port_get_info 2020-12-19 10:14:52 +01:00
rocker_hw.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
rocker_of_dpa.c hw/net/rocker/rocker_of_dpa.c: Remove superfluous error check 2024-11-19 13:02:05 +00:00
rocker_of_dpa.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
rocker_tlv.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
rocker_world.c net/rocker: Remove the dead error handling 2017-09-08 08:17:37 +08:00
rocker_world.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00