aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDmitry Antipov <[email protected]>2023-08-24 10:50:44 +0300
committerKalle Valo <[email protected]>2023-09-21 11:14:50 +0300
commit82ae3f4635382ff23e2ece55b5d5e713223951ec (patch)
tree76b8d47ac0dbbbd9804ce6f28840666d7ea180a5 /tools/perf/scripts/python/exported-sql-viewer.py
parentac13a7842ab46a87aa315514d6d7e19b03cb2adc (diff)
wifi: ath11k: drop redundant check in ath11k_dp_rx_mon_dest_process()
In 'ath11k_dp_rx_mon_dest_process()', 'mon_dst_srng' points to a member of 'srng_list', which is a fixed-size array inside 'struct ath11k_hal'. This way, if 'ring_id' is valid (i. e. between 0 and HAL_SRNG_RING_ID_MAX - 1 inclusive), 'mon_dst_srng' can't be NULL and so relevant check may be dropped. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Dmitry Antipov <[email protected]> Acked-by: Jeff Johnson <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions