aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorMinwoo Im <minwoo.im.dev@gmail.com>2019-06-09 03:02:17 +0900
committerChristoph Hellwig <hch@lst.de>2019-06-21 11:08:38 +0200
commita232ea0ebffeaab48ec24cf795dcb07280a55ea1 (patch)
tree4f5bc81bef79cecbd7bef2d39c206c0f37017361 /drivers/nvme
parentnvme-pci: use host managed power state for suspend (diff)
downloadlinux-dev-a232ea0ebffeaab48ec24cf795dcb07280a55ea1.tar.xz
linux-dev-a232ea0ebffeaab48ec24cf795dcb07280a55ea1.zip
nvme-pci: remove unnecessary zero for static var
poll_queues will be zero even without zero initialization here. Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/host/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index eeae5789303a..02216b45613d 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -80,7 +80,7 @@ MODULE_PARM_DESC(write_queues,
"Number of queues to use for writes. If not set, reads and writes "
"will share a queue set.");
-static int poll_queues = 0;
+static int poll_queues;
module_param_cb(poll_queues, &queue_count_ops, &poll_queues, 0644);
MODULE_PARM_DESC(poll_queues, "Number of queues to use for polled IO.");