summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksij Rempel <bug-track@fisher-privat.net>2012-05-10 09:59:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-10 09:57:19 -0700
commita61a85b11b1c66a0437a0a7014a58b6f9241ac78 (patch)
tree71ed69a2f3f93050be2679042711d82a65e2f44a
parentecfbe1dc96827daa774569d186ae57abec6030da (diff)
downloadlinux-3.10-a61a85b11b1c66a0437a0a7014a58b6f9241ac78.tar.gz
linux-3.10-a61a85b11b1c66a0437a0a7014a58b6f9241ac78.tar.bz2
linux-3.10-a61a85b11b1c66a0437a0a7014a58b6f9241ac78.zip
staging: rts5139: remove unused option->needs_remote_wakeup
module parametr needs_remote_wakeup sets option->needs_remote_wakeup and rts51x->pusb_intf->needs_remote_wakeup the second may be used, the first one is never used Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rts5139/rts51x.c1
-rw-r--r--drivers/staging/rts5139/rts51x_chip.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rts5139/rts51x.c b/drivers/staging/rts5139/rts51x.c
index 97b3a2bd10a..acf74bf3888 100644
--- a/drivers/staging/rts5139/rts51x.c
+++ b/drivers/staging/rts5139/rts51x.c
@@ -505,7 +505,6 @@ static void rts51x_init_options(struct rts51x_chip *chip)
option->ss_en = ss_en;
option->ss_delay = ss_delay;
- option->needs_remote_wakeup = needs_remote_wakeup;
option->auto_delink_en = auto_delink_en;
diff --git a/drivers/staging/rts5139/rts51x_chip.h b/drivers/staging/rts5139/rts51x_chip.h
index b2a4b963a34..d52ff269782 100644
--- a/drivers/staging/rts5139/rts51x_chip.h
+++ b/drivers/staging/rts5139/rts51x_chip.h
@@ -356,7 +356,6 @@ struct rts51x_option {
int ss_en;
/* Interval to enter SS from IDLE state (second) */
int ss_delay;
- int needs_remote_wakeup;
u8 ww_enable; /* sangdy2010-08-03:add for remote wakeup */
/* Enable SSC clock */