]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 c2ba41bb7a701dd47ab63250ade15b0042ce11c1..60a6328a9ca0cead8b84c1d9feefc60ccb56368d 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;
 }