summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mlx5/qp.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-10-31 16:46:38 +0300
committerJason Gunthorpe <jgg@nvidia.com>2020-12-10 19:00:27 +0300
commit7f1d2dfa307e760af13677895b4e874e9c251a5b (patch)
tree37b69280d9090e6ed2a3f11bacdc1ac5ec135b42 /drivers/infiniband/hw/mlx5/qp.c
parent0583531bb9ef30a5c4ce00b4ee10b6707768eead (diff)
downloadlinux-7f1d2dfa307e760af13677895b4e874e9c251a5b.tar.xz
RDMA/mlx5: Remove unneeded semicolon
A semicolon is not needed after a switch statement. Link: https://lore.kernel.org/r/20201031134638.2135060-1-trix@redhat.com Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/qp.c')
-rw-r--r--drivers/infiniband/hw/mlx5/qp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c
index 9d32f3173231..0cb7cc642d87 100644
--- a/drivers/infiniband/hw/mlx5/qp.c
+++ b/drivers/infiniband/hw/mlx5/qp.c
@@ -3078,7 +3078,7 @@ static int ib_to_mlx5_rate_map(u8 rate)
return 5;
default:
return rate + MLX5_STAT_RATE_OFFSET;
- };
+ }
return 0;
}