qcacmn: Initialize local variable

Initialize local variable to zero to prevent compilation
warning for KASAN enabled builds.

Change-Id: I22a6115800ea31e0fe0c86204722664355b53947
CRs-Fixed: 2310542
This commit is contained in:
Pramod Simha 2018-09-06 11:24:21 -07:00 • committed by nshrivas
commit e3d4d25f62

View file

@ -2858,7 +2858,7 @@ static inline void dp_tx_sojourn_stats_process(struct dp_pdev *pdev,
static inline void dp_tx_comp_process_tx_status(struct dp_tx_desc_s *tx_desc,
uint32_t length)
{
struct hal_tx_completion_status ts;
struct hal_tx_completion_status ts = {0};
struct dp_soc *soc = NULL;
struct dp_vdev *vdev = tx_desc->vdev;
struct dp_peer *peer = NULL;