Skip to content

Commit

Permalink
nvme-pci: remove unnecessary zero for static var
Browse files Browse the repository at this point in the history
poll_queues will be zero even without zero initialization here.

Signed-off-by: Minwoo Im <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
  • Loading branch information
minwooim authored and Christoph Hellwig committed Jun 21, 2019
1 parent d916b1b commit a232ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nvme/host/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Expand Down

0 comments on commit a232ea0

Please sign in to comment.