Re: [PATCH net-next v3] octeontx2-pf: remove unused variables req_hdr and rsp_hdr
From: Simon Horman
Date: Fri Mar 29 2024 - 13:46:08 EST
On Thu, Mar 28, 2024 at 10:07:24AM +0800, Su Hui wrote:
> Clang static checker(scan-buid):
> drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:503:2: warning:
> Value stored to 'rsp_hdr' is never read [deadcode.DeadStores]
>
> Remove these unused variables to save some space.
>
> Signed-off-by: Su Hui <suhui@xxxxxxxxxxxx>
> ---
> v3:
> - using net-next in subject
> - split the v2 patchset into individual patches
> v2:
> - add "net" in subject
Thanks for the updates.
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>