aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPhilipp Hortmann <[email protected]>2023-09-12 21:28:53 +0200
committerGreg Kroah-Hartman <[email protected]>2023-09-17 09:47:42 +0200
commit58806573a76b0e55fb0b5b8c323a948fb1540fd7 (patch)
treeae241d3d554563f286fc514b293a36773357668b /tools/perf/scripts/python/bin
parent6c8bc47b67b862edb58b649611efef437c7ddb0a (diff)
staging: rtl8192e: Remove rtllib_get_payload()
rtllib_process_action() is only called in one place with management frames. Frame is passed over to rtllib_get_payload() which passes it to rtllib_get_hdrlen(). In rtllib_get_hdrlen() all management frames return with hdrlen = RTLLIB_3ADDR_LEN. Therefore the switch in rtllib_get_payload() is useless and dead code. The condition act == NULL cannot occur and can also be removed. Then rtllib_hdr_2addr is not used anymore and can be removed as well. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/3ef288fb819f50da3eb9291522067babaa57f532.1694546301.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions