From: navin patidar <navin.patidar@gmail.com>
To: gregkh@linuxfoundation.org
Cc: Larry.Finger@lwfinger.net, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org,
navin patidar <navin.patidar@gmail.com>
Subject: [PATCH 07/13] staging: rtl8188eu: Remove unused function HalDetectPwrDownMode88E()
Date: Tue, 8 Jul 2014 00:10:07 +0530 [thread overview]
Message-ID: <1404758413-12859-7-git-send-email-navin.patidar@gmail.com> (raw)
In-Reply-To: <1404758413-12859-1-git-send-email-navin.patidar@gmail.com>
Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 19 -------------------
drivers/staging/rtl8188eu/include/rtl8188e_hal.h | 2 --
2 files changed, 21 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
index 1abf974..161138f 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
@@ -1079,25 +1079,6 @@ void Hal_ReadThermalMeter_88E(struct adapter *Adapter, u8 *PROMContent, bool Aut
DBG_88E("ThermalMeter = 0x%x\n", pHalData->EEPROMThermalMeter);
}
-bool HalDetectPwrDownMode88E(struct adapter *Adapter)
-{
- u8 tmpvalue = 0;
- struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
- struct pwrctrl_priv *pwrctrlpriv = &Adapter->pwrctrlpriv;
-
- EFUSE_ShadowRead(Adapter, 1, EEPROM_RF_FEATURE_OPTION_88E, (u32 *)&tmpvalue);
-
- /* 2010/08/25 MH INF priority > PDN Efuse value. */
- if (tmpvalue & BIT(4) && pwrctrlpriv->reg_pdnmode)
- pHalData->pwrdown = true;
- else
- pHalData->pwrdown = false;
-
- DBG_88E("HalDetectPwrDownMode(): PDN =%d\n", pHalData->pwrdown);
-
- return pHalData->pwrdown;
-} /* HalDetectPwrDownMode */
-
/* This function is used only for 92C to set REG_BCN_CTRL(0x550) register. */
/* We just reserve the value of the register in variable pHalData->RegBcnCtrlVal and then operate */
/* the value of the register via atomic operation. */
diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_hal.h b/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
index a0a3ca7..4b7b069 100644
--- a/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
+++ b/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
@@ -451,8 +451,6 @@ void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo,
void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo,
bool AutoLoadFail);
-bool HalDetectPwrDownMode88E(struct adapter *Adapter);
-
void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc);
/* register */
--
1.7.10.4
next prev parent reply other threads:[~2014-07-07 18:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-07 18:40 [PATCH 01/13] staging: rtl8188eu: Remove unused function rtw_change_ifname() navin patidar
2014-07-07 18:40 ` [PATCH 02/13] staging: rtl8188eu: Remove function rtw_alloc_etherdev() navin patidar
2014-07-08 8:55 ` Dan Carpenter
2014-07-07 18:40 ` [PATCH 03/13] staging: rtl8188eu: Remove unused function efuse_GetCurrentSize() navin patidar
2014-07-07 18:40 ` [PATCH 04/13] staging: rtl8188eu: Remove unused function efuse_GetMaxSize() navin patidar
2014-07-07 18:40 ` [PATCH 05/13] staging: rtl8188eu: rtw_efuse.c : Remove unused functions navin patidar
2014-07-07 18:40 ` [PATCH 06/13] staging: rtl8188eu: Remove unused functions rtw_efuse_map_[read,write]() navin patidar
2014-07-07 18:40 ` navin patidar [this message]
2014-07-07 18:40 ` [PATCH 08/13] staging: rtl8188eu: rtw_efuse.c: Remove unused functions navin patidar
2014-07-07 18:40 ` [PATCH 09/13] staging: rtl8188eu: use jiffies_to_msecs() instead of rtw_systime_to_ms() navin patidar
2014-07-07 18:40 ` [PATCH 10/13] staging: rtl8188eu: Use msecs_to_jiffies() instead of rtw_ms_to_systime() navin patidar
2014-07-07 18:40 ` [PATCH 11/13] staging: rtl8188eu: Remove unused function rtw_cbuf_alloc() navin patidar
2014-07-07 18:40 ` [PATCH 12/13] staging: rtl8188eu: Remove unused functions rtw_cbuf_[full, empty, push, pop]() navin patidar
2014-07-07 18:40 ` [PATCH 13/13] staging: rtl8188eu: osdep_service.h: Remove unused struct rtw_cbuf navin patidar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1404758413-12859-7-git-send-email-navin.patidar@gmail.com \
--to=navin.patidar@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®