diff options
| author | Jeff Johnson <jjohnson@qca.qualcomm.com> | 2014-03-29 12:43:10 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-03-31 21:49:06 -0700 |
| commit | 1add386d506e47c9235dfda0c97f024f0657ba80 (patch) | |
| tree | b10173617456a188a27985bb14f7f91d9ccaae3f | |
| parent | 399f07d2b57a8c6c3733cdbedc908c3b5a9644d1 (diff) | |
wlan: qcacld: lim: Fix unused-function warnings
When GCC 4.7 was first introduced to Android, the initial version of
the compiler was warning about things it should not have, and hence
some warnings were suppressed, including unused-function warnings.
The compiler now seems to be correctly warning only about bad
behavior, so clean up the unused functions in LIM in preparation for
re-enabling unused-function warnings in the compiler.
Change-Id: Idc1058262f9bfd197a2b51116844c85371e9c3fc
CRs-fixed: 640842
| -rw-r--r-- | CORE/MAC/src/pe/lim/limLogDump.c | 4 | ||||
| -rw-r--r-- | CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/CORE/MAC/src/pe/lim/limLogDump.c b/CORE/MAC/src/pe/lim/limLogDump.c index 75b43e0c7b8b..69b89ec90323 100644 --- a/CORE/MAC/src/pe/lim/limLogDump.c +++ b/CORE/MAC/src/pe/lim/limLogDump.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2014 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -2436,6 +2436,7 @@ dump_send_plm_start(tpAniSirGlobal pMac, tANI_U32 arg1, tANI_U32 arg2, } #endif +#ifndef QCA_WIFI_2_0 /* API to fill Rate Info based on mac efficiency * arg 1: mac efficiency to be used to calculate mac thorughput for a given rate index * arg 2: starting rateIndex to apply the macEfficiency to @@ -2448,6 +2449,7 @@ dump_limRateInfoBasedOnMacEff(tpAniSirGlobal pMac, tANI_U32 arg1, tANI_U32 arg2, WDTS_FillRateInfo((tANI_U8)(arg1), (tANI_U16)(arg2), (tANI_U16)(arg3)); return p; } +#endif /* QCA_WIFI_2_0 */ static tDumpFuncEntry limMenuDumpTable[] = { {0, "PE (300-499)", NULL}, diff --git a/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c b/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c index 31bd56c11ea4..43f1e604bb7a 100644 --- a/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c +++ b/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c @@ -107,7 +107,6 @@ static void limProcessSmeChannelChangeRequest(tpAniSirGlobal pMac, tANI_U32 *pMsg); static void limProcessSmeStartBeaconReq(tpAniSirGlobal pMac, tANI_U32 *pMsg); -static void limProcessSmeDfsCacIndication(tpAniSirGlobal pMac, tANI_U32 *pMsg); static void limProcessSmeDfsCsaIeRequest(tpAniSirGlobal pMac, tANI_U32 *pMsg); void __limProcessSmeAssocCnfNew(tpAniSirGlobal, tANI_U32, tANI_U32 *); |
