diff options
author | Kalle Valo <quic_kvalo@quicinc.com> | 2023-02-22 19:40:14 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-02-24 13:23:16 +0300 |
commit | 28013c35629647679e10cb1bbf36c3feec2af756 (patch) | |
tree | e7914101a673f4ccbc143c527138b5c26a3c01c0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4a51e66fe96dfde76894c4eb445ef1b14d312014 (diff) | |
download | linux-28013c35629647679e10cb1bbf36c3feec2af756.tar.xz |
wifi: ath12k: remove memset with byte count of 278528
Sparse warns:
drivers/net/wireless/ath/ath12k/dp.c:1471:15: warning: memset with byte count of 278528
There's no need to use memset() here, instead call dma_alloc_coherent() with __GFP_ZERO.
While at it, remove an extra line before the error handler.
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230222164014.860-1-kvalo@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions