Commit 205fefe3 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Greg Kroah-Hartman

staging: rts5139: remove unused rcc_fail_flag variable

Signed-off-by: default avatarOleksij Rempel <bug-track@fisher-privat.net>
Acked-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a61a85b1
...@@ -516,7 +516,6 @@ static void rts51x_init_options(struct rts51x_chip *chip) ...@@ -516,7 +516,6 @@ static void rts51x_init_options(struct rts51x_chip *chip)
option->rts5129_D3318_off_enable = 0; option->rts5129_D3318_off_enable = 0;
option->sd20_pad_drive = 0; option->sd20_pad_drive = 0;
option->reset_or_rw_fail_set_pad_drive = 1; option->reset_or_rw_fail_set_pad_drive = 1;
option->rcc_fail_flag = 0;
option->rcc_bug_fix_en = 1; option->rcc_bug_fix_en = 1;
option->debounce_num = 2; option->debounce_num = 2;
option->polling_time = 100; option->polling_time = 100;
......
...@@ -379,7 +379,6 @@ struct rts51x_option { ...@@ -379,7 +379,6 @@ struct rts51x_option {
/*if reset or rw fail,then set SD20 pad drive again */ /*if reset or rw fail,then set SD20 pad drive again */
u8 reset_or_rw_fail_set_pad_drive; u8 reset_or_rw_fail_set_pad_drive;
u8 rcc_fail_flag; /* add to indicate whether rcc bug happen */
u8 rcc_bug_fix_en; /* if set,then support fixing rcc bug */ u8 rcc_bug_fix_en; /* if set,then support fixing rcc bug */
u8 debounce_num; /* debounce number */ u8 debounce_num; /* debounce number */
int polling_time; /* polling delay time */ int polling_time; /* polling delay time */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment