lkml.org 
[lkml]   [2020]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net/mlx4_core : remove unneeded semicolon
From
Date


On 11/1/2020 4:05 PM, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
>
> A semicolon is not needed after a switch statement.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
> drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c b/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
> index 1187ef1375e2..394f43add85c 100644
> --- a/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
> +++ b/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
> @@ -300,7 +300,7 @@ static const char *resource_str(enum mlx4_resource rt)
> case RES_FS_RULE: return "RES_FS_RULE";
> case RES_XRCD: return "RES_XRCD";
> default: return "Unknown resource type !!!";
> - };
> + }
> }
>
> static void rem_slave_vlans(struct mlx4_dev *dev, int slave);
>

Reviewed-by: Tariq Toukan <tariqt@nvidia.com>

Thanks,
Tariq

\
 
 \ /
  Last update: 2020-11-02 10:32    [W:0.048 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site