summaryrefslogtreecommitdiff
path: root/kernel/elfcorehdr.c
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2024-09-13 08:28:12 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-13 07:31:55 +0200
commitbfa0290f4fc4c84e1283077eecd44147ec27a8c9 (patch)
tree4ac49046c1fea0f2f443ce6e389b010edaf4395e /kernel/elfcorehdr.c
parent81c05e4776adf8b439e5c439ac46e5025af57020 (diff)
downloadlwn-bfa0290f4fc4c84e1283077eecd44147ec27a8c9.tar.gz
lwn-bfa0290f4fc4c84e1283077eecd44147ec27a8c9.zip
staging: rtl8712: remove unused drvinfo_sz from update_recvframe_attrib
The drvinfo_sz is a size of hardware generated data putting in front of real RX data. The functions r8712_rxcmd_event_hdl() and recvbuf2recvframe() have its own parsing code to get drvinfo_sz to access real RX data, so removing this unused drvinfo_sz is safe. Otherwise, clang report: rtl8712_recv.c:139:6: warning: variable 'drvinfo_sz' set but not used [-Wunused-but-set-variable] 139 | u16 drvinfo_sz; | ^ Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20240913002815.5149-2-pkshih@realtek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/elfcorehdr.c')
0 files changed, 0 insertions, 0 deletions