summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/mac/src/sys/legacy/src/system/inc/sys_debug.h47
-rw-r--r--core/mac/src/sys/legacy/src/system/inc/sys_entry_func.h3
-rw-r--r--core/mac/src/sys/legacy/src/system/src/mac_init_api.c3
-rw-r--r--core/mac/src/sys/legacy/src/system/src/sys_entry_func.c1
4 files changed, 2 insertions, 52 deletions
diff --git a/core/mac/src/sys/legacy/src/system/inc/sys_debug.h b/core/mac/src/sys/legacy/src/system/inc/sys_debug.h
deleted file mode 100644
index 4a2578885d21..000000000000
--- a/core/mac/src/sys/legacy/src/system/inc/sys_debug.h
+++ /dev/null
@@ -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__ */
diff --git a/core/mac/src/sys/legacy/src/system/inc/sys_entry_func.h b/core/mac/src/sys/legacy/src/system/inc/sys_entry_func.h
index 41afc8bdfd3f..ab72d62f9c93 100644
--- a/core/mac/src/sys/legacy/src/system/inc/sys_entry_func.h
+++ b/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 */
diff --git a/core/mac/src/sys/legacy/src/system/src/mac_init_api.c b/core/mac/src/sys/legacy/src/system/src/mac_init_api.c
index 8174f9d27fe6..bfb303a7765b 100644
--- a/core/mac/src/sys/legacy/src/system/src/mac_init_api.c
+++ b/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"
@@ -68,8 +67,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);
}
diff --git a/core/mac/src/sys/legacy/src/system/src/sys_entry_func.c b/core/mac/src/sys/legacy/src/system/src/sys_entry_func.c
index aa485572f70b..06b553bde2d3 100644
--- a/core/mac/src/sys/legacy/src/system/src/sys_entry_func.c
+++ b/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"