[PATCH] vdpa/mlx5: clean up some inconsistent indenting

Jiapeng Chong posted 1 patch 4 years ago
drivers/vdpa/mlx5/net/mlx5_vnet.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] vdpa/mlx5: clean up some inconsistent indenting
Posted by Jiapeng Chong 4 years ago
Eliminate the follow smatch warning:

drivers/vdpa/mlx5/net/mlx5_vnet.c:1822 handle_ctrl_vlan() warn: inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/vdpa/mlx5/net/mlx5_vnet.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/vdpa/mlx5/net/mlx5_vnet.c b/drivers/vdpa/mlx5/net/mlx5_vnet.c
index b7a955479156..12e45bc57338 100644
--- a/drivers/vdpa/mlx5/net/mlx5_vnet.c
+++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c
@@ -1816,10 +1816,10 @@ static virtio_net_ctrl_ack handle_ctrl_vlan(struct mlx5_vdpa_dev *mvdev, u8 cmd)
 		mac_vlan_del(ndev, ndev->config.mac, id, true);
 		break;
 	default:
-	break;
-}
+		break;
+	}
 
-return status;
+	return status;
 }
 
 static void mlx5_cvq_kick_handler(struct work_struct *work)
-- 
2.20.1.7.g153144c