qemu/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-hmp-cmds.c
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
rocker_desc.h
rocker_fp.c
rocker_fp.h
rocker_hw.h
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
rocker_tlv.h
rocker_world.c
rocker_world.h