Skip to contentSkip to conversation

RDMA/mlx5: remove unneeded semicolon

PATCH Applied [email protected] 3 participants 3 messages Oct 31, 2020 – Dec 10, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RDMA/mlx5: remove unneeded semicolon

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

---
 drivers/infiniband/hw/mlx5/qp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/mlx5/qp.c +1 -1
index 600e056798c0..6aad0f39c50c 100644
@@ -3102,7 +3102,7 @@ static int ib_to_mlx5_rate_map(u8 rate)
 		return 5;
 	default:
 		return rate + MLX5_STAT_RATE_OFFSET;
-	};
+	}
 
 	return 0;
 }
Signature · 1 line
2.18.1
#1 lore raw
Quoted 8 lines · On Sat, Oct 31, 2020 at 06:46:38AM -0700, [email protected] wrote:

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

---
 drivers/infiniband/hw/mlx5/qp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

If you are going to send these can you do the whole subsystem at once? I don't want ane endless trickle of one line patches

Jason