On Thu, 14 Nov 2024 at 07:52, Rodrigo Dias Correa <[email protected]> wrote:
>
> 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 <[email protected]>
> Reviewed-by: Ján Tomko <[email protected]>
> ---
>  hw/net/rocker/rocker_of_dpa.c | 13 +++----------
>  1 file changed, 3 insertions(+), 10 deletions(-)
>
> changelog:
>   v2: fixed misaligned line



Applied to target-arm.next, thanks.

-- PMM

Reply via email to