nvme-core: remove unnecessary semicolon
authorChaitanya Kulkarni <kch@nvidia.com>
Wed, 19 Jan 2022 07:49:54 +0000 (23:49 -0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 11:45:04 +0000 (13:45 +0200)
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>
drivers/nvme/host/core.c

index 5e0bfda04bd7b197706db239ee395e0c02ff9729..a1d793e799825f1153695cba17f5b1e0a2c87dd2 100644 (file)
@@ -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])