Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ira Weiny and committed by
Doug Ledford
ce755c9b 6f876ce4

-12
-12
include/rdma/ib_mad.h
··· 157 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 160 * Generic trap/notice other local changes flags (trap 144). 173 161 */ 174 162 #define IB_NOTICE_TRAP_LSE_CHG 0x04 /* Link Speed Enable changed */