summaryrefslogtreecommitdiff
path: root/drivers/nvme/host
diff options
context:
space:
mode:
authorChaitanya Kulkarni <kch@nvidia.com>2022-01-19 10:49:54 +0300
committerChristoph Hellwig <hch@lst.de>2022-02-28 14:45:04 +0300
commit50ab19d89feaf4ebeca6872b46da4b503eee20c1 (patch)
tree30bece4d29ec795d9eb1fa9476f35e08768aaebf /drivers/nvme/host
parente65b831a1e191caff3fc0d06bc7019cdaf8f868e (diff)
downloadlinux-50ab19d89feaf4ebeca6872b46da4b503eee20c1.tar.xz
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/host')
-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])