Files
linux/drivers
Kalle Valo 28013c3562 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
2023-02-24 12:23:16 +02:00
..
2022-12-30 10:49:52 +08:00
2023-01-27 14:05:38 +01:00
2022-12-11 21:25:58 +01:00