From 1333ba09c528a2732698ada98f5a650b5f8a676f Mon Sep 17 00:00:00 2001 From: chenguo Date: Thu, 30 Nov 2017 19:09:21 +0800 Subject: [PATCH] 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 --- dp/wifi3.0/dp_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 59c98beb856d..36d44f3dee7a 100644 --- a/dp/wifi3.0/dp_main.c +++ b/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);