octeontx2-pf: remove unused variables req_hdr and rsp_hdr
authorSu Hui <suhui@nfschina.com>
Thu, 28 Mar 2024 02:07:24 +0000 (10:07 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 Mar 2024 19:39:23 +0000 (12:39 -0700)
commit1ab6fe64d220eaeb42a1130b3c31ea24c84cf5ad
treefa3f98867ccedbaeb86118fcf3a44f0e5303cc66
parente93af72286054e76d71aa5b7d721f33667ce0385
octeontx2-pf: remove unused variables req_hdr and rsp_hdr

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>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240328020723.4071539-1-suhui@nfschina.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c