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)
commit84b3adc2430eafd2eb703570075c3c141ea0ff13
tree304e8f3a27ed0964b63d2d8c65d2d54893e4d910
parentb374e060cc2aa31ceca885a7fe5bd591876c02b3
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: 898fa52b4ac3 "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