Procházet zdrojové kódy

qcacld-3.0: UMAC: Remove obsolete file 'sys_debug.h'

Remove obsolete file 'sys_debug.h'.

Change-Id: I825e3e975890af5dfae5c9785b50d1515ed99787
CRs-Fixed: 2014745
Srinivas Girigowda před 8 roky
rodič
revize
7f48157556

+ 0 - 47
core/mac/src/sys/legacy/src/system/inc/sys_debug.h

@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2011-2012, 2014 The Linux Foundation. All rights reserved.
- *
- * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
- *
- *
- * Permission to use, copy, modify, and/or distribute this software for
- * any purpose with or without fee is hereby granted, provided that the
- * above copyright notice and this permission notice appear in all
- * copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
- * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
- * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
- * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
- * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- * PERFORMANCE OF THIS SOFTWARE.
- */
-
-/*
- * This file was originally distributed by Qualcomm Atheros, Inc.
- * under proprietary terms before Copyright ownership was assigned
- * to the Linux Foundation.
- */
-
-/*
- *
- * This file sys_global.h contains the logDump utility for system module.
- * Author:      V. K. Kandarpa
- * Date:        01/24/2002
- * History:-
- * Date         Modified by    Modification Information
- * --------------------------------------------------------------------
- */
-#ifndef __SYS_DEBUG_H__
-#define __SYS_DEBUG_H__
-
-#include <stdarg.h>
-#include "utils_api.h"
-#include "sir_debug.h"
-#include "sir_params.h"
-
-void sys_log(tpAniSirGlobal pMac, uint32_t loglevel, const char *pString, ...);
-
-#endif /* __SYS_DEBUG_H__ */

+ 2 - 1
core/mac/src/sys/legacy/src/system/inc/sys_entry_func.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2012, 2014 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2012, 2014, 2017 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -49,5 +49,6 @@ extern void sysMmhEntry(uint32_t dummy);
 extern void sysMntEntry(uint32_t dummy);
 extern void sysHalEntry(uint32_t dummy);
 extern void sysNimPttEntry(uint32_t dummy);
+void sys_log(tpAniSirGlobal pMac, uint32_t loglevel, const char *pString, ...);
 
 #endif /* __SYS_ENTRY_FUNC_H */

+ 0 - 3
core/mac/src/sys/legacy/src/system/src/mac_init_api.c

@@ -41,7 +41,6 @@
 #include "cfg_api.h"             /* cfg_cleanup */
 #include "lim_api.h"             /* lim_cleanup */
 #include "sir_types.h"
-#include "sys_debug.h"
 #include "sys_entry_func.h"
 #include "mac_init_api.h"
 
@@ -66,8 +65,6 @@ tSirRetStatus mac_start(tHalHandle hHal, void *pHalMacStartParams)
 	pMac->gDriverType =
 		((tHalMacStartParameters *) pHalMacStartParams)->driverType;
 
-	sys_log(pMac, LOG2, FL("called\n"));
-
 	if (ANI_DRIVER_TYPE(pMac) != eDRIVER_TYPE_MFG) {
 		status = pe_start(pMac);
 	}

+ 0 - 1
core/mac/src/sys/legacy/src/system/src/sys_entry_func.c

@@ -45,7 +45,6 @@
 #include "sch_api.h"
 #include "utils_api.h"
 
-#include "sys_debug.h"
 #include "sys_def.h"
 #include "sys_entry_func.h"
 #include "sys_startup.h"