Skip to content

Commit cba9060

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 2cb919e commit cba9060

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
@@ -337,13 +337,6 @@ static inline struct bnxt_re_ah *to_bnxt_re_ah(struct ibv_ah *ibvah)
337337
return container_of(ibvah, struct bnxt_re_ah, ibvah);
338338
}
339339

340-
static inline uint32_t bnxt_re_get_sqe_sz(void)
341-
{
342-
return sizeof(struct bnxt_re_bsqe) +
343-
sizeof(struct bnxt_re_send) +
344-
BNXT_RE_MAX_INLINE_SIZE;
345-
}
346-
347340
static inline uint32_t bnxt_re_get_sqe_hdr_sz(void)
348341
{
349342
return sizeof(struct bnxt_re_bsqe) + sizeof(struct bnxt_re_send);

0 commit comments

Comments
 (0)