diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-03-14 15:39:08 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-03-22 09:31:19 -0300 |
commit | fdb68dd30e92c5a2e0897f644b58b6d3616db44a (patch) | |
tree | 1b4cc7437589257ca0a754ebaa7e9d30ed0715a2 /drivers/infiniband/hw/hfi1/hfi.h | |
parent | ae360f41b1263887ada64d9a708e12c1f52f91b9 (diff) | |
download | lwn-fdb68dd30e92c5a2e0897f644b58b6d3616db44a.tar.gz lwn-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/hfi.h')
-rw-r--r-- | drivers/infiniband/hw/hfi1/hfi.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/hfi1/hfi.h b/drivers/infiniband/hw/hfi1/hfi.h index e09e8244a94c..024ef6e3ab7e 100644 --- a/drivers/infiniband/hw/hfi1/hfi.h +++ b/drivers/infiniband/hw/hfi1/hfi.h @@ -717,12 +717,6 @@ static inline void incr_cntr64(u64 *cntr) (*cntr)++; } -static inline void incr_cntr32(u32 *cntr) -{ - if (*cntr < (u32)-1LL) - (*cntr)++; -} - #define MAX_NAME_SIZE 64 struct hfi1_msix_entry { enum irq_type type; |