net/mlx5: remove unneeded semicolon
Subsystems (4)
PATCH 1/1 net/mlx5: remove unneeded semicolon
Fix the following coccicheck warnings:
./drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:495:2-3: Unneeded semicolon.
--- drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c +1 -1
@@ -492,7 +492,7 @@ static int mlx5_sf_esw_event(struct notifier_block *nb, unsigned long event, voibreak ;default :break ; - }; + }return 0 ; }
Signature · 1 line
1.8.3.1
Quoted 30 lines
From: Jiapeng Chong <[email protected]>
Sent: Monday, February 22, 2021 3:27 PMFix the following coccicheck warnings:
./drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:495:2-3: Unneeded semicolon.
Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>--- drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c +1
-1@@ -492,7 +492,7 @@ static int mlx5_sf_esw_event(struct notifier_block *nb, unsigned long event, voi break;default :break ; - }; + }return 0 ;
Quoted 3 lines
}
--
1.8.3.1
Hi Saeed,
Quoted 31 lines
From: Parav Pandit <[email protected]>
Sent: Monday, February 22, 2021 3:32 PMQuoted 27 lines
From: Jiapeng Chong <[email protected]>
Sent: Monday, February 22, 2021 3:27 PMFix the following coccicheck warnings:
./drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:495:2-3:
Unneeded semicolon.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>--- drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c +1
-1@@ -492,7 +492,7 @@ static int mlx5_sf_esw_event(struct notifier_block *nb, unsigned long event, voi break;default :break ; - }; + }
Quoted 6 lines
Quoted 4 lines
drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c +0
-0return 0 ;}
--
1.8.3.1Reviewed-by Parav Pandit <[email protected]>
Will you take this patch [1] to your queue?
Saeed Mahameed
AppliedQuoted 41 lines · Parav Pandit
Hi Saeed,
Quoted 32 lines
From: Parav Pandit <[email protected]>
Sent: Monday, February 22, 2021 3:32 PMQuoted 28 lines
From: Jiapeng Chong <[email protected]>
Sent: Monday, February 22, 2021 3:27 PMFix the following coccicheck warnings:
./drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:495:2-3:
Unneeded semicolon.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>---
drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c +0
-0@@ -492,7 +492,7 @@ static int mlx5_sf_esw_event(struct
notifier_block
*nb, unsigned long event, voi
break;
default:
break;
- };
+ }Quoted 6 lines
Quoted 4 lines
return 0;
}
--
1.8.3.1Reviewed-by Parav Pandit <[email protected]>
Quoted 4 lines
Will you take this patch [1] to your queue?
Applied to net-next-mlx5.
Thanks,
Saeed.