mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: navin patidar <navin.patidar@gmail.com>
To: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	navin patidar <navin.patidar@gmail.com>
Subject: [PATCH 08/24] staging: rtl8188eu: Remove function rtw_hal_dm_deinit()
Date: Mon, 26 May 2014 21:35:23 +0530	[thread overview]
Message-ID: <1401120339-23667-8-git-send-email-navin.patidar@gmail.com> (raw)
In-Reply-To: <1401120339-23667-1-git-send-email-navin.patidar@gmail.com>

rtw_hal_dm_deinit() calls rtl8188e_deinit_dm_priv() using funtion pointer.
rtl8188e_deinit_dm_priv() has empty defination, so we can remove
rtw_hal_dm_deinit() and later rtl8188e_deinit_dm_priv() also will be
removed.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/hal_intf.c     |    7 -------
 drivers/staging/rtl8188eu/include/hal_intf.h |    1 -
 drivers/staging/rtl8188eu/os_dep/os_intfs.c  |    2 --
 3 files changed, 10 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/hal_intf.c b/drivers/staging/rtl8188eu/hal/hal_intf.c
index 43eee48..d0ac4a1 100644
--- a/drivers/staging/rtl8188eu/hal/hal_intf.c
+++ b/drivers/staging/rtl8188eu/hal/hal_intf.c
@@ -60,13 +60,6 @@ void rtw_hal_dm_init(struct adapter *adapt)
 		adapt->HalFunc.dm_init(adapt);
 }
 
-void rtw_hal_dm_deinit(struct adapter *adapt)
-{
-	/*  cancel dm  timer */
-	if (adapt->HalFunc.dm_deinit)
-		adapt->HalFunc.dm_deinit(adapt);
-}
-
 void rtw_hal_sw_led_init(struct adapter *adapt)
 {
 	if (adapt->HalFunc.InitSwLeds)
diff --git a/drivers/staging/rtl8188eu/include/hal_intf.h b/drivers/staging/rtl8188eu/include/hal_intf.h
index acdef1d..a8f25c9 100644
--- a/drivers/staging/rtl8188eu/include/hal_intf.h
+++ b/drivers/staging/rtl8188eu/include/hal_intf.h
@@ -296,7 +296,6 @@ void rtw_hal_def_value_init(struct adapter *padapter);
 void	rtw_hal_free_data(struct adapter *padapter);
 
 void rtw_hal_dm_init(struct adapter *padapter);
-void rtw_hal_dm_deinit(struct adapter *padapter);
 void rtw_hal_sw_led_init(struct adapter *padapter);
 void rtw_hal_sw_led_deinit(struct adapter *padapter);
 
diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
index 9edb8e8..c1368b8 100644
--- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c
@@ -951,8 +951,6 @@ void rtw_cancel_all_timer(struct adapter *padapter)
 	_cancel_timer_ex(&padapter->pwrctrlpriv.pwr_state_check_timer);
 
 	_cancel_timer_ex(&padapter->recvpriv.signal_stat_timer);
-	/* cancel dm timer */
-	rtw_hal_dm_deinit(padapter);
 }
 
 u8 rtw_free_drv_sw(struct adapter *padapter)
-- 
1.7.10.4


  parent reply	other threads:[~2014-05-26 16:06 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-26 16:05 [PATCH 01/24] staging: rtl8188eu: Remove unused function rtw_interface_ps_func() navin patidar
2014-05-26 16:05 ` [PATCH 02/24] staging: rtl8188eu: Remove unused function rtw_hal_intf_ps_func() navin patidar
2014-05-26 16:05 ` [PATCH 03/24] staging: rtl8188eu: Remove unused function pointer ->interface_ps_func navin patidar
2014-05-26 16:05 ` [PATCH 04/24] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func() navin patidar
2014-05-26 16:05 ` [PATCH 05/24] staging: rtl8188eu: Remove unused function ODM_MacStatusQuery() navin patidar
2014-05-26 16:05 ` [PATCH 06/24] staging: rtl8188eu: Remove unused function odm_Init_RSSIForDM() navin patidar
2014-05-26 16:05 ` [PATCH 07/24] staging: rtl8188eu: Remove function with empty defination dm_CheckStatistics() navin patidar
2014-05-26 16:05 ` navin patidar [this message]
2014-05-26 16:05 ` [PATCH 09/24] staging: rtl8188eu: Remove unused function pointer ->dm_init navin patidar
2014-05-26 16:05 ` [PATCH 10/24] staging: rtl8188eu: Remove unused function rtl8188e_deinit_dm_priv() navin patidar
2014-05-26 16:05 ` [PATCH 11/24] staging: rtl8188eu: remove unused header inclusion from rtw_mp.c navin patidar
2014-05-26 16:05 ` [PATCH 12/24] staging: rtl8188eu: Remove unused macros and enum defined in odm_types.h navin patidar
2014-05-26 16:05 ` [PATCH 13/24] staging: rtl8188eu: Remove unused structure "rtl8192cd_priv" navin patidar
2014-05-26 16:05 ` [PATCH 14/24] staging: rtl8188eu: Remove unused macros in odm_interface.h navin patidar
2014-05-26 16:05 ` [PATCH 15/24] staging: rtl8188eu: Remove unused function pointer declaration navin patidar
2014-05-26 16:05 ` [PATCH 16/24] staging: rtl8188eu: Remove unused function declaration navin patidar
2014-05-26 16:05 ` [PATCH 17/24] staging: rtl8188eu: Use "ODM_REG_CCK_CCA_11N" in ODM_Write_CCK_CCA_Thres() navin patidar
2014-05-26 16:05 ` [PATCH 18/24] staging: rtl8188eu: Use ODM_REG_IGI_A_11N and ODM_BIT_IGI_11N in odm_DIGInit() navin patidar
2014-05-26 16:05 ` [PATCH 19/24] staging: rtl8188eu: Remove unnecessary debugging message from ODM_Write_DIG() navin patidar
2014-05-26 16:05 ` [PATCH 20/24] staging: rtl8188eu: Use ODM_REG_IGI_A_11N and ODM_BIT_IGI_11N in ODM_Write_DIG() navin patidar
2014-05-26 16:05 ` [PATCH 21/24] staging: rtl8188eu: Remove unused macros defined in odm_interface.h navin patidar
2014-05-26 16:05 ` [PATCH 22/24] staging: rtl8188eu: Remove unused function declaration navin patidar
2014-05-26 16:05 ` [PATCH 23/24] staging: rtl8188eu: Remove unused enum odm_h2c_cmd navin patidar
2014-05-26 16:05 ` [PATCH 24/24] staging: rtl8188eu: Remove empty file odm_interface.h 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=1401120339-23667-8-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®