浏览代码

qcacmn: Delete unwanted lock destroy of reo_cmd_lock

As the correct usage, a lock must be destroyed after all jobs are
done. Delete an unwanted lock destroy of reo_cmd_lock.

CRs-Fixed: 2151585
Change-Id: Ieb24b747e9d4704b65026db3ecfee23a94fbf835
chenguo 7 年之前
父节点
当前提交
1333ba09c5
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      dp/wifi3.0/dp_main.c

+ 0 - 1
dp/wifi3.0/dp_main.c

@@ -2500,7 +2500,6 @@ static void dp_soc_detach_wifi3(void *txrx_soc)
 	dp_srng_cleanup(soc, &soc->reo_status_ring, REO_STATUS, 0);
 	dp_hw_link_desc_pool_cleanup(soc);
 
-	qdf_spinlock_destroy(&soc->rx.reo_cmd_lock);
 	qdf_spinlock_destroy(&soc->peer_ref_mutex);
 	qdf_spinlock_destroy(&soc->htt_stats.lock);