wifi: ath12k: dp_mon: Fix uninitialized warning related to the pktlog
authorThiraviyam Mariyappan <quic_tmariyap@quicinc.com>
Tue, 17 Jan 2023 12:03:19 +0000 (14:03 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 18 Jan 2023 06:37:56 +0000 (08:37 +0200)
commit2ee25c257d1714a9aeb0aae0dba0785e4aa19b8b
treefbee1ab280d5cd3574c4dafa5b5f0627becf4a85
parent80166c42434c8deaa812443c5de73c69a7bed929
wifi: ath12k: dp_mon: Fix uninitialized warning related to the pktlog

Uninitialized warning in the code changes related to pktlog, which is not
completely supported in ath12k driver yet. Hence, remove the changes to
avoid the warning.

Warning:
drivers/net/wireless/ath/ath12k/dp_mon.c:2138:18: warning: variable 'rx_buf_sz' is uninitialized when used here [-Wuninitialized]

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0-03171-QCAHKSWPL_SILICONZ-1
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thiraviyam Mariyappan <quic_tmariyap@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20221221105529.19345-5-quic_tmariyap@quicinc.com
drivers/net/wireless/ath/ath12k/dp_mon.c