staging: rts5139: remove unused option->needs_remote_wakeup
authorOleksij Rempel <bug-track@fisher-privat.net>
Thu, 10 May 2012 07:59:32 +0000 (09:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 May 2012 16:57:19 +0000 (09:57 -0700)
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>
drivers/staging/rts5139/rts51x.c
drivers/staging/rts5139/rts51x_chip.h

index 97b3a2b..acf74bf 100644 (file)
@@ -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;
 
index b2a4b96..d52ff26 100644 (file)
@@ -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 */