summaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorChaitanya Kulkarni <kch@nvidia.com>2022-01-19 08:49:54 +0100
committerChristoph Hellwig <hch@lst.de>2022-02-28 12:45:04 +0100
commit50ab19d89feaf4ebeca6872b46da4b503eee20c1 (patch)
tree30bece4d29ec795d9eb1fa9476f35e08768aaebf /drivers/nvme
parentnvme-fc: fix a typo (diff)
downloadlinux-50ab19d89feaf4ebeca6872b46da4b503eee20c1.tar.xz
linux-50ab19d89feaf4ebeca6872b46da4b503eee20c1.zip
nvme-core: remove unnecessary semicolon
It is not a good practice to have a semicolon at the end of the function definition. Remove it from nvme_pr_type(). Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/host/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 5e0bfda04bd7..a1d793e79982 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -1979,7 +1979,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])