提交 a61a85b1 编写于 作者: O Oleksij Rempel 提交者: Greg Kroah-Hartman

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: NOleksij Rempel <bug-track@fisher-privat.net>
Acked-by: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 ecfbe1dc
......@@ -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;
......
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册