Skip to content

Commit a598479

Browse files
selvintxaviernmorey
authored andcommitted
bnxt_re/lib: Remove the unused function
[ Upstream commit 73c6acb ] bnxt_re_get_sqe_sz is no longer used. So removing it. Fixes: 66aba73 ("bnxt_re/lib: Move hardware queue to 16B aligned indices") Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Nicolas Morey <nmorey@suse.com>
1 parent aa6fbc2 commit a598479

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

providers/bnxt_re/main.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -360,13 +360,6 @@ static inline struct bnxt_re_ah *to_bnxt_re_ah(struct ibv_ah *ibvah)
360360
return container_of(ibvah, struct bnxt_re_ah, ibvah);
361361
}
362362

363-
static inline uint32_t bnxt_re_get_sqe_sz(void)
364-
{
365-
return sizeof(struct bnxt_re_bsqe) +
366-
sizeof(struct bnxt_re_send) +
367-
BNXT_RE_MAX_INLINE_SIZE;
368-
}
369-
370363
static inline uint32_t bnxt_re_get_sqe_hdr_sz(void)
371364
{
372365
return sizeof(struct bnxt_re_bsqe) + sizeof(struct bnxt_re_send);

0 commit comments

Comments
 (0)