ソースを参照

Merge "qcacld-3.0: Remove unnecessary wma_handle checks" into wlan-cld3.driver.lnx.2.0

CNSS_WLAN Service 4 年 前
コミット
5b41ea9b44
1 ファイル変更0 行追加16 行削除
  1. 0 16
      core/wma/src/wma_main.c

+ 0 - 16
core/wma/src/wma_main.c

@@ -154,18 +154,8 @@ void wma_set_fw_wlan_feat_caps(enum cap_bitmap feature)
  */
 static void wma_service_ready_ext_evt_timeout(void *data)
 {
-	tp_wma_handle wma_handle;
-
 	wma_alert("Timeout waiting for WMI_SERVICE_READY_EXT_EVENT");
 
-	wma_handle = (tp_wma_handle) data;
-
-	if (!wma_handle) {
-		wma_err("Invalid WMA handle");
-		goto end;
-	}
-
-end:
 	/* Assert here. Panic is being called in insmod thread */
 	QDF_ASSERT(0);
 }
@@ -9077,14 +9067,8 @@ QDF_STATUS wma_mc_process_handler(struct scheduler_msg *msg)
  */
 void wma_log_completion_timeout(void *data)
 {
-	tp_wma_handle wma_handle;
-
 	wma_debug("Timeout occurred for log completion command");
 
-	wma_handle = (tp_wma_handle) data;
-	if (!wma_handle)
-		wma_err("Invalid WMA handle");
-
 	/* Though we did not receive any event from FW,
 	 * we can flush whatever logs we have with us
 	 */