From a61a85b11b1c66a0437a0a7014a58b6f9241ac78 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Thu, 10 May 2012 09:59:32 +0200 Subject: [PATCH] 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 Acked-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rts5139/rts51x.c | 1 - drivers/staging/rts5139/rts51x_chip.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/rts5139/rts51x.c b/drivers/staging/rts5139/rts51x.c index 97b3a2bd10a1..acf74bf3888f 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 b2a4b963a343..d52ff269782f 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 */ -- 2.34.1