diff options
author | Ira Weiny <ira.weiny@intel.com> | 2015-09-02 18:45:54 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-09-03 15:49:37 -0400 |
commit | ce755c9b01e09ee4907cf79bd0f57fa5cf65c4c3 (patch) | |
tree | bc6bebef6ebe484694a9a352901f736ba1f75f00 | |
parent | 6f876ce4b53f7c748e07cedab661aa4bcc8a09d2 (diff) |
IB/core: Remove unnecessary defines from ib_mad.h
Remove the unused IB_NOTICE_REPRESS_* defines.
When the hfi1 driver was added these definitions were moved from the qib driver
to ib_mad.h. They should have been removed instead.
Fixes: d4ab347005fb ("IB/core: Add core header changes needed for OPA")
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | include/rdma/ib_mad.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/rdma/ib_mad.h b/include/rdma/ib_mad.h index c206205bbf98..7f2cf855a0b6 100644 --- a/include/rdma/ib_mad.h +++ b/include/rdma/ib_mad.h | |||
@@ -157,18 +157,6 @@ | |||
157 | #define IB_NOTICE_TRAP_BAD_QKEY cpu_to_be16(258) | 157 | #define IB_NOTICE_TRAP_BAD_QKEY cpu_to_be16(258) |
158 | 158 | ||
159 | /* | 159 | /* |
160 | * Repress trap/notice flags | ||
161 | */ | ||
162 | #define IB_NOTICE_REPRESS_LLI_THRESH (1 << 0) | ||
163 | #define IB_NOTICE_REPRESS_EBO_THRESH (1 << 1) | ||
164 | #define IB_NOTICE_REPRESS_FLOW_UPDATE (1 << 2) | ||
165 | #define IB_NOTICE_REPRESS_CAP_MASK_CHG (1 << 3) | ||
166 | #define IB_NOTICE_REPRESS_SYS_GUID_CHG (1 << 4) | ||
167 | #define IB_NOTICE_REPRESS_BAD_MKEY (1 << 5) | ||
168 | #define IB_NOTICE_REPRESS_BAD_PKEY (1 << 6) | ||
169 | #define IB_NOTICE_REPRESS_BAD_QKEY (1 << 7) | ||
170 | |||
171 | /* | ||
172 | * Generic trap/notice other local changes flags (trap 144). | 160 | * Generic trap/notice other local changes flags (trap 144). |
173 | */ | 161 | */ |
174 | #define IB_NOTICE_TRAP_LSE_CHG 0x04 /* Link Speed Enable changed */ | 162 | #define IB_NOTICE_TRAP_LSE_CHG 0x04 /* Link Speed Enable changed */ |