mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 08/16] staging: rtl8188eu: Remove unused function _rtw_IOL_append_WW_cmd()
Date: Sun, 13 Jul 2014 19:59:30 +0530	[thread overview]
Message-ID: <1405261778-7653-8-git-send-email-navin.patidar@gmail.com> (raw)
In-Reply-To: <1405261778-7653-1-git-send-email-navin.patidar@gmail.com>

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/core/rtw_iol.c    |   14 --------------
 drivers/staging/rtl8188eu/include/rtw_iol.h |    2 --
 2 files changed, 16 deletions(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_iol.c b/drivers/staging/rtl8188eu/core/rtw_iol.c
index e6fdd32..7796287 100644
--- a/drivers/staging/rtl8188eu/core/rtw_iol.c
+++ b/drivers/staging/rtl8188eu/core/rtw_iol.c
@@ -113,20 +113,6 @@ int _rtw_IOL_append_WB_cmd(struct xmit_frame *xmit_frame, u16 addr, u8 value, u8
 	return rtw_IOL_append_cmds(xmit_frame, (u8 *)&cmd, cmd.length);
 }
 
-int _rtw_IOL_append_WW_cmd(struct xmit_frame *xmit_frame, u16 addr, u16 value, u16 mask)
-{
-	struct ioreg_cfg cmd = {8, IOREG_CMD_WW_REG, 0x0, 0x0, 0x0};
-
-	cmd.address = cpu_to_le16(addr);
-	cmd.data = cpu_to_le32(value);
-
-	if (mask != 0xFFFF) {
-		cmd.length = 12;
-		cmd.mask =  cpu_to_le32(mask);
-	}
-	return rtw_IOL_append_cmds(xmit_frame, (u8 *)&cmd, cmd.length);
-}
-
 int _rtw_IOL_append_WD_cmd(struct xmit_frame *xmit_frame, u16 addr, u32 value, u32 mask)
 {
 	struct ioreg_cfg cmd = {8, IOREG_CMD_WD_REG, 0x0, 0x0, 0x0};
diff --git a/drivers/staging/rtl8188eu/include/rtw_iol.h b/drivers/staging/rtl8188eu/include/rtw_iol.h
index ec0c6cb..80bfd06 100644
--- a/drivers/staging/rtl8188eu/include/rtw_iol.h
+++ b/drivers/staging/rtl8188eu/include/rtw_iol.h
@@ -63,8 +63,6 @@ void read_efuse_from_txpktbuf(struct adapter *adapter, int bcnhead,
 
 int _rtw_IOL_append_WB_cmd(struct xmit_frame *xmit_frame, u16 addr,
 			   u8 value, u8 mask);
-int _rtw_IOL_append_WW_cmd(struct xmit_frame *xmit_frame, u16 addr,
-			   u16 value, u16 mask);
 int _rtw_IOL_append_WD_cmd(struct xmit_frame *xmit_frame, u16 addr,
 			   u32 value, u32 mask);
 int _rtw_IOL_append_WRF_cmd(struct xmit_frame *xmit_frame, u8 rf_path,
-- 
1.7.10.4


  parent reply	other threads:[~2014-07-13 14:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-13 14:29 [PATCH 01/16] staging: rtl8188eu: Remove unused function rtw_use_tkipkey_handler() navin patidar
2014-07-13 14:29 ` [PATCH 02/16] staging: rtl8188eu: Remove function rtw_set_channel_plan() navin patidar
2014-07-13 14:29 ` [PATCH 03/16] staging: rtl8188eu: Remove unused function rtw_set_scan_mode() navin patidar
2014-07-13 14:29 ` [PATCH 04/16] staging: rtl8188eu: Remove unused function rtw_validate_ssid() navin patidar
2014-07-13 14:29 ` [PATCH 05/16] staging: rtl8188eu: Remove unused function rtw_set_802_11_add_key() navin patidar
2014-07-13 14:29 ` [PATCH 06/16] staging: rtl8188eu: Remove unused function rtw_set_802_11_remove_key() navin patidar
2014-07-13 14:29 ` [PATCH 07/16] staging: rtl8188eu: Remove unused function rtw_set_802_11_remove_wep() navin patidar
2014-07-13 14:29 ` navin patidar [this message]
2014-07-13 14:29 ` [PATCH 09/16] staging: rtl8188eu: Remove unused function rtw_get_timestampe_from_ie() navin patidar
2014-07-13 14:29 ` [PATCH 10/16] staging: rtl8188eu: Rename _rtw_free_network_queue() to rtw_free_network_queue() navin patidar
2014-07-13 14:29 ` [PATCH 11/16] staging: rtl8188eu: Rename _rtw_find_network() to rtw_find_network() navin patidar
2014-07-13 14:29 ` [PATCH 12/16] staging: rtl8188eu: Make _rtw_free_network() static navin patidar
2014-07-13 14:29 ` [PATCH 13/16] staging: rtl8188eu: Remove unused function _rtw_dequeue_network() navin patidar
2014-07-13 14:29 ` [PATCH 14/16] staging: rtl8188eu: Remove unused function _rtw_enqueue_network() navin patidar
2014-07-13 14:29 ` [PATCH 15/16] staging: rtl8188eu: Rename _rtw_free_mlme_priv() to rtw_free_mlme_priv() navin patidar
2014-07-13 14:29 ` [PATCH 16/16] staging: rtl8188eu: Rename _rtw_init_mlme_priv() to rtw_init_mlme_priv() 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=1405261778-7653-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®