diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2006-12-11 19:10:11 -0200 |
---|---|---|
committer | Andres Salomon <dilinger@debian.org> | 2006-12-20 15:38:27 -0500 |
commit | 97799b0cebc9ab6576d36c00b2b2f08d063f1cc9 (patch) | |
tree | 070928d0da95aa4bbcc1d6a4325d79041b3f9455 | |
parent | 2ad55acf05113e53c2fe37d096179c9be0df6875 (diff) | |
download | lwn-97799b0cebc9ab6576d36c00b2b2f08d063f1cc9.tar.gz lwn-97799b0cebc9ab6576d36c00b2b2f08d063f1cc9.zip |
libertas: remove libertas_sbi_reenable_host_interrupt
Unused.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
(cherry picked from 2ca9861e67d96c8f02d4d9cb01bf12f3eeffacf2 commit)
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.c | 10 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/sbi.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/wlan_cmd.c | 2 |
3 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index 64fc182bb37f..eecb304eedaf 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c @@ -670,16 +670,6 @@ int libertas_sbi_host_to_card(wlan_private * priv, u8 type, u8 * payload, u16 nb return ret; } -/** - * @brief This is a dummy function - * @param priv pointer to wlan_private - * @return WLAN_STATUS_SUCCESS - */ -int libertas_sbi_reenable_host_interrupt(wlan_private * priv, u8 bits) -{ - return WLAN_STATUS_SUCCESS; -} - /* called with adapter->driver_lock held */ int libertas_sbi_get_int_status(wlan_private * priv, u8 * ireg) { diff --git a/drivers/net/wireless/libertas/sbi.h b/drivers/net/wireless/libertas/sbi.h index 41d8aa0265ac..9e45aa5029e6 100644 --- a/drivers/net/wireless/libertas/sbi.h +++ b/drivers/net/wireless/libertas/sbi.h @@ -99,7 +99,6 @@ int libertas_sbi_prog_firmware(wlan_private *); int libertas_sbi_verify_fw_download(wlan_private *); int libertas_sbi_read_event_cause(wlan_private *); -int libertas_sbi_reenable_host_interrupt(wlan_private *, u8); int libertas_sbi_host_to_card(wlan_private * priv, u8 type, u8 * payload, u16 nb); int libertas_sbi_enable_host_int(wlan_private *); wlan_private *libertas_sbi_get_priv(void *card); diff --git a/drivers/net/wireless/libertas/wlan_cmd.c b/drivers/net/wireless/libertas/wlan_cmd.c index f556b58558b6..e9811d26b9b6 100644 --- a/drivers/net/wireless/libertas/wlan_cmd.c +++ b/drivers/net/wireless/libertas/wlan_cmd.c @@ -1753,8 +1753,6 @@ int libertas_prepare_and_send_command(wlan_private * priv, libertas_queue_cmd(Adapter, CmdNode, 1); wake_up_interruptible(&priv->MainThread.waitQ); - libertas_sbi_reenable_host_interrupt(priv, 0x00); - if (wait_option & HostCmd_OPTION_WAITFORRSP) { dprintk(1, "PREP_CMD: Wait for CMD response\n"); wait_event_interruptible(CmdNode->cmdwait_q, |