net/mlx5: remove unneeded semicolon
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 22 Feb 2021 09:56:59 +0000 (17:56 +0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 12 Mar 2021 23:29:30 +0000 (15:29 -0800)
Fix the following coccicheck warnings:

./drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c:495:2-3: Unneeded
semicolon.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c

index c2ba41b..60a6328 100644 (file)
@@ -492,7 +492,7 @@ static int mlx5_sf_esw_event(struct notifier_block *nb, unsigned long event, voi
                break;
        default:
                break;
-       };
+       }
 
        return 0;
 }