vdpa/mlx5: fix error code for deleting vlan
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 7 Jun 2022 06:49:25 +0000 (09:49 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 8 Jun 2022 12:56:03 +0000 (08:56 -0400)
commitf766c409fcb33cfd0f511e8251831520e089eb89
treec6496d4dace932018ec54dcfd9b16294a245e1c2
parenta58a7f97ba11391d2d0d408e0b24f38d86ae748e
vdpa/mlx5: fix error code for deleting vlan

Return success if we were able to delete a vlan.  The current code
always returns failure.

Fixes: baf2ad3f6a98 ("vdpa/mlx5: Add RX MAC VLAN filter support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Message-Id: <Yp709f1g9NcMBCHg@kili>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Eli Cohen <elic@nvidia.com>
Acked-by: Si-Wei Liu <si-wei.liu@oracle.com>
drivers/vdpa/mlx5/net/mlx5_vnet.c