]> git.baikalelectronics.ru Git - kernel.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)
commit0ddc55eb4b21f9fc509a31a9d17b5bc0e86c91d6
treed61ceccc99443f4a62bdeb8cf41232fcd59753b6
parente2cfcfee3ee26fd7746fb7d2c6ff349ec543bcd2
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