lkml.org 
[lkml]   [2024]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next v3] octeontx2-pf: remove unused variables req_hdr and rsp_hdr
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@nfschina.com>
> ---
> 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@kernel.org>


\
 
 \ /
  Last update: 2024-05-27 16:15    [W:0.201 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site