Skip to content

Commit

Permalink
staging: rts5139: remove unused option->needs_remote_wakeup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oleksij Rempel authored and Greg Kroah-Hartman committed May 10, 2012
1 parent ecfbe1d commit a61a85b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/staging/rts5139/rts51x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion drivers/staging/rts5139/rts51x_chip.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit a61a85b

Please sign in to comment.