Re: [PATCH 1/2] RDMA/rxe: Save a few bytes from struct rxe_pool

From: Jason Gunthorpe
Date: Wed Oct 27 2021 - 12:55:24 EST


On Sun, Oct 24, 2021 at 06:43:30PM +0200, Christophe JAILLET wrote:
> 'table_size' is never read, it can be removed.
>
> In fact, the only place that uses something that could be 'table_size' is
> 'alloc_index()'. In this function, it is re-computed from 'min_index' and
> 'max_index'.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> drivers/infiniband/sw/rxe/rxe_pool.c | 1 -
> drivers/infiniband/sw/rxe/rxe_pool.h | 1 -
> 2 files changed, 2 deletions(-)

This and the next applied to for-next, thanks

Jason