summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/verbs_txreq.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/verbs_txreq.h
parentae360f41b1263887ada64d9a708e12c1f52f91b9 (diff)
downloadlinux-stable-fdb68dd30e92c5a2e0897f644b58b6d3616db44a.tar.gz
linux-stable-fdb68dd30e92c5a2e0897f644b58b6d3616db44a.tar.bz2
linux-stable-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/verbs_txreq.h')
-rw-r--r--drivers/infiniband/hw/hfi1/verbs_txreq.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/hfi1/verbs_txreq.h b/drivers/infiniband/hw/hfi1/verbs_txreq.h
index d2d526c5a756..4bdfc7932376 100644
--- a/drivers/infiniband/hw/hfi1/verbs_txreq.h
+++ b/drivers/infiniband/hw/hfi1/verbs_txreq.h
@@ -99,11 +99,6 @@ static inline struct verbs_txreq *get_txreq(struct hfi1_ibdev *dev,
return tx;
}
-static inline struct sdma_txreq *get_sdma_txreq(struct verbs_txreq *tx)
-{
- return &tx->txreq;
-}
-
static inline struct verbs_txreq *get_waiting_verbs_txreq(struct iowait_work *w)
{
struct sdma_txreq *stx;