summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-10-31 14:46:38 +0100
committerJason Gunthorpe <jgg@nvidia.com>2020-12-10 17:00:27 +0100
commit7f1d2dfa307e760af13677895b4e874e9c251a5b (patch)
tree37b69280d9090e6ed2a3f11bacdc1ac5ec135b42
parentRDMA/iser: Remove in_interrupt() usage (diff)
downloadlinux-7f1d2dfa307e760af13677895b4e874e9c251a5b.tar.xz
linux-7f1d2dfa307e760af13677895b4e874e9c251a5b.zip
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>
-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;
}