Skip to contentSkip to conversation

nvme-core: remove unnecessary semicolon

PATCH Applied Chaitanya Kulkarni 3 participants 3 messages Jan 19, 2022 – Jan 26, 2022 NVMe

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nvme-core: remove unnecessary semicolon

From: Chaitanya Kulkarni <[email protected]>

It is not a good practice to have a semicolon at the end of the function definition. Remove it from nvme_pr_type().

---
 drivers/nvme/host/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/host/core.c +1 -1
index 4fc794d9c2f4..1759538b36fc 100644
@@ -1967,7 +1967,7 @@ static char nvme_pr_type(enum pr_type type)
 	default:
 		return 0;
 	}
-};
+}
 
 static int nvme_send_ns_head_pr_command(struct block_device *bdev,
 		struct nvme_command *c, u8 data[16])
Signature · 1 line
2.29.0