summaryrefslogtreecommitdiff
path: root/net/nfc/rawsock.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew.r.wilcox@intel.com>2011-03-16 16:52:19 -0400
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2011-11-04 15:53:01 -0400
commit9ecdc946212f7cd592986b2c519b470404caa6b8 (patch)
tree5d953e07ff82f8a97b5d4d5c14b0eb6db401d1a2 /net/nfc/rawsock.c
parent3cb967c03926edd2c414082f4cc0feb7b372edae (diff)
NVMe: Simplify queue lookup
Fill in all the num_possible_cpus() entries with duplicate pointers. This reduces the complexity of the frequently-called get_nvmeq(), as well as avoiding a bug in it when there are fewer queues than CPUs. Reported-by: Shane Michael Matthews <shane.matthews@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'net/nfc/rawsock.c')
0 files changed, 0 insertions, 0 deletions