summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/include/ib_sa.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/include/ib_sa.h')
-rw-r--r--drivers/infiniband/include/ib_sa.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/infiniband/include/ib_sa.h b/drivers/infiniband/include/ib_sa.h
index 00222285eb9a..49a95ca2b8f6 100644
--- a/drivers/infiniband/include/ib_sa.h
+++ b/drivers/infiniband/include/ib_sa.h
@@ -87,10 +87,6 @@ static inline int ib_sa_rate_enum_to_int(enum ib_sa_rate rate)
}
}
-typedef u64 __bitwise ib_sa_comp_mask;
-
-#define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << n))
-
/*
* Structures for SA records are named "struct ib_sa_xxx_rec." No
* attempt is made to pack structures to match the physical layout of