]> git.baikalelectronics.ru Git - kernel.git/commit
IB/qib: Remove qpt_mask global
authorDennis Dalessandro <dennis.dalessandro@intel.com>
Sun, 25 Sep 2016 14:41:05 +0000 (07:41 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 2 Oct 2016 12:42:11 +0000 (08:42 -0400)
commit362ae2689048740affbb01a2ba14aee1264ee171
tree304e8f3a27ed0964b63d2d8c65d2d54893e4d910
parent258b0e6ede5d455cd99bf9f805d656462dde3584
IB/qib: Remove qpt_mask global

There is no need to have a global qpt_mask as that does not support the
multiple chip model which qib has. Instead rely on the value which
exists already in the device data (dd).

Fixes: 971dfb4b19c5 "IB/qib: Remove qpn, qp tables and related variables from qib"
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qib/qib.h
drivers/infiniband/hw/qib/qib_qp.c
drivers/infiniband/hw/qib/qib_verbs.c