]> asedeno.scripts.mit.edu Git - linux.git/commit
nvme-pci: remove queue_count_ops for write_queues and poll_queues
authorMinwoo Im <minwoo.im.dev@gmail.com>
Sat, 8 Jun 2019 18:02:18 +0000 (03:02 +0900)
committerChristoph Hellwig <hch@lst.de>
Fri, 21 Jun 2019 09:08:38 +0000 (11:08 +0200)
commit483178f38cbe55a0b1854a93ceef715a0fc2ef9f
treed61ceccc99443f4a62bdeb8cf41232fcd59753b6
parenta232ea0ebffeaab48ec24cf795dcb07280a55ea1
nvme-pci: remove queue_count_ops for write_queues and poll_queues

queue_count_set() seems like that it has been provided to limit the
number of queue entries for write/poll queues.  But, the
queue_count_set() has been doing nothing but a parameter check even it
has num_possible_cpus() which is nop.

This patch removes entire queue_count_ops from the write_queues and
poll_queues.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c