diff options
| author | Rodrigo Dias Correa <r@drigo.nl> | 2024-11-19 13:02:05 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2024-11-19 13:02:05 +0000 |
| commit | 35ec474fd64224c0ff58b8c9730117fe5d31d40f (patch) | |
| tree | fb0bbcec07f6a309783d03a9689e9eaaef421f52 /hw/intc | |
| parent | c5d36da7ec62e4c72a72a437057fb6072cf0d6ab (diff) | |
| download | focaccia-qemu-35ec474fd64224c0ff58b8c9730117fe5d31d40f.tar.gz focaccia-qemu-35ec474fd64224c0ff58b8c9730117fe5d31d40f.zip | |
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>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions