summaryrefslogtreecommitdiff
path: root/drivers/staging/rts5139
diff options
context:
space:
mode:
authorOleksij Rempel <bug-track@fisher-privat.net>2012-05-10 09:59:35 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-10 09:57:20 -0700
commit19434aa179fe107831f436bbc8e21aa4c4fb0757 (patch)
tree9bcc9cd1c4059a619885df0b0e574b99def7db8c /drivers/staging/rts5139
parent711c273c07bba69fd85cf7bfc6565420ff2fc7b6 (diff)
staging: rts5139: remove unused polling_time variable
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>
Diffstat (limited to 'drivers/staging/rts5139')
-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 7d2c93cb6738..c3fe7dda1f4e 100644
--- a/drivers/staging/rts5139/rts51x.c
+++ b/drivers/staging/rts5139/rts51x.c
@@ -517,7 +517,6 @@ static void rts51x_init_options(struct rts51x_chip *chip)
option->sd20_pad_drive = 0;
option->reset_or_rw_fail_set_pad_drive = 1;
option->debounce_num = 2;
- option->polling_time = 100;
option->led_toggle_interval = 6;
option->xd_rwn_step = 0;
option->sd_send_status_en = 0;
diff --git a/drivers/staging/rts5139/rts51x_chip.h b/drivers/staging/rts5139/rts51x_chip.h
index 2cb75753956e..175ea7992f45 100644
--- a/drivers/staging/rts5139/rts51x_chip.h
+++ b/drivers/staging/rts5139/rts51x_chip.h
@@ -380,7 +380,6 @@ struct rts51x_option {
u8 reset_or_rw_fail_set_pad_drive;
u8 debounce_num; /* debounce number */
- int polling_time; /* polling delay time */
u8 led_toggle_interval; /* used to control led toggle speed */
int xd_rwn_step;
u8 sd_send_status_en;