Explorar o código

qcacmn: Remove reference to obsolete vos_ctx

wlan_logging_sock_svc has a reference to the vos_ctx. Since this is
obsolete, remove the reference.

Change-Id: I1256aa8a1220859911eceec8048a57856e64299a
CRs-Fixed: 2102456
Jeff Johnson %!s(int64=7) %!d(string=hai) anos
pai
achega
23f532b887
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      utils/logging/src/wlan_logging_sock_svc.c

+ 0 - 5
utils/logging/src/wlan_logging_sock_svc.c

@@ -1237,11 +1237,6 @@ static void send_packetdump(qdf_nbuf_t netbuf, uint8_t status,
 	struct packet_dump pd_hdr = {0};
 	struct hdd_context *hdd_ctx;
 	struct hdd_adapter *adapter;
-	v_CONTEXT_t vos_ctx;
-
-	vos_ctx = cds_get_global_context();
-	if (!vos_ctx)
-		return;
 
 	hdd_ctx = (struct hdd_context *)cds_get_context(QDF_MODULE_ID_HDD);
 	if (!hdd_ctx)