Pārlūkot izejas kodu

cnss2: icnss2: Remove unused macro

Remove unused temporary macros CNSS_API_WITH_DEV and
ICNSS_API_WITH_DEV.

Change-Id: I5dff354c08b6772d85d9fe0814e1b3a501810df9
CRs-Fixed: 3394987
Naman Padhiar 2 gadi atpakaļ
vecāks
revīzija
2ac2197477
2 mainītis faili ar 1 papildinājumiem un 10 dzēšanām
  1. 0 6
      inc/cnss2.h
  2. 1 4
      inc/icnss2.h

+ 0 - 6
inc/cnss2.h

@@ -15,12 +15,6 @@
 #define CNSS_MAX_DEV_MEM_NUM		4
 #define CNSS_MAX_DEV_MEM_NUM		4
 #define CNSS_CHIP_VER_ANY		0
 #define CNSS_CHIP_VER_ANY		0
 
 
-/*
- * Temporary change for compilation, will be removed
- * after WLAN host driver switched to use new APIs
- */
-#define CNSS_API_WITH_DEV
-
 #define CNSS_SSR_DRIVER_DUMP_MAX_REGIONS 32
 #define CNSS_SSR_DRIVER_DUMP_MAX_REGIONS 32
 
 
 enum cnss_bus_width_type {
 enum cnss_bus_width_type {

+ 1 - 4
inc/icnss2.h

@@ -1,6 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
 /*
  * Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
  * Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
  */
  */
 #ifndef _ICNSS_WLAN_H_
 #ifndef _ICNSS_WLAN_H_
 #define _ICNSS_WLAN_H_
 #define _ICNSS_WLAN_H_
@@ -13,10 +14,6 @@
 #define ICNSS_MAX_TIMESTAMP_LEN        32
 #define ICNSS_MAX_TIMESTAMP_LEN        32
 #define ICNSS_WLFW_MAX_BUILD_ID_LEN    128
 #define ICNSS_WLFW_MAX_BUILD_ID_LEN    128
 
 
-#ifndef ICNSS_API_WITH_DEV
-#define ICNSS_API_WITH_DEV
-#endif
-
 #define DEVICE_NAME_MAX		10
 #define DEVICE_NAME_MAX		10
 enum icnss_uevent {
 enum icnss_uevent {
 	ICNSS_UEVENT_FW_CRASHED,
 	ICNSS_UEVENT_FW_CRASHED,