aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/chip.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2021-03-14 15:39:08 +0200
committerJason Gunthorpe <jgg@nvidia.com>2021-03-22 09:31:19 -0300
commitfdb68dd30e92c5a2e0897f644b58b6d3616db44a (patch)
tree1b4cc7437589257ca0a754ebaa7e9d30ed0715a2 /drivers/infiniband/hw/hfi1/chip.h
parentRDMA: Fix kernel-doc compilation warnings (diff)
downloadlinux-dev-fdb68dd30e92c5a2e0897f644b58b6d3616db44a.tar.xz
linux-dev-fdb68dd30e92c5a2e0897f644b58b6d3616db44a.zip
RDMA: Delete not-used static inline functions
Perform mass deletion of static inline functions that are not used. Link: https://lore.kernel.org/r/20210314133908.291945-3-leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/chip.h')
-rw-r--r--drivers/infiniband/hw/hfi1/chip.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/hfi1/chip.h b/drivers/infiniband/hw/hfi1/chip.h
index 2c6f2de74d4d..ac26649d4463 100644
--- a/drivers/infiniband/hw/hfi1/chip.h
+++ b/drivers/infiniband/hw/hfi1/chip.h
@@ -822,11 +822,6 @@ int acquire_lcb_access(struct hfi1_devdata *dd, int sleep_ok);
int release_lcb_access(struct hfi1_devdata *dd, int sleep_ok);
#define LCB_START DC_LCB_CSRS
#define LCB_END DC_8051_CSRS /* next block is 8051 */
-static inline int is_lcb_offset(u32 offset)
-{
- return (offset >= LCB_START && offset < LCB_END);
-}
-
extern uint num_vls;
extern uint disable_integrity;