diff options
author | Oleksij Rempel <bug-track@fisher-privat.net> | 2012-05-10 09:59:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-10 09:57:20 -0700 |
commit | 711c273c07bba69fd85cf7bfc6565420ff2fc7b6 (patch) | |
tree | a2f011d2bc64f1708957f385120bcb3771620dc7 /drivers | |
parent | 205fefe32e0df582dcd33e02bbcf7ad58256156c (diff) |
staging: rts5139: remove unused rcc_bug_fix_en
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')
-rw-r--r-- | drivers/staging/rts5139/rts51x.c | 1 | ||||
-rw-r--r-- | drivers/staging/rts5139/rts51x_chip.c | 3 | ||||
-rw-r--r-- | drivers/staging/rts5139/rts51x_chip.h | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rts5139/rts51x.c b/drivers/staging/rts5139/rts51x.c index 10849976235..7d2c93cb673 100644 --- a/drivers/staging/rts5139/rts51x.c +++ b/drivers/staging/rts5139/rts51x.c @@ -516,7 +516,6 @@ static void rts51x_init_options(struct rts51x_chip *chip) option->rts5129_D3318_off_enable = 0; option->sd20_pad_drive = 0; option->reset_or_rw_fail_set_pad_drive = 1; - option->rcc_bug_fix_en = 1; option->debounce_num = 2; option->polling_time = 100; option->led_toggle_interval = 6; diff --git a/drivers/staging/rts5139/rts51x_chip.c b/drivers/staging/rts5139/rts51x_chip.c index 3a10310123b..a21f490974d 100644 --- a/drivers/staging/rts5139/rts51x_chip.c +++ b/drivers/staging/rts5139/rts51x_chip.c @@ -164,9 +164,6 @@ int rts51x_init_chip(struct rts51x_chip *chip) RTS51X_SET_STAT(chip, STAT_RUN); RTS51X_READ_REG(chip, HW_VERSION, &val); - if ((val & 0x0f) >= 2) - chip->option.rcc_bug_fix_en = 0; - RTS51X_DEBUGP("rcc bug fix enable:%d\n", chip->option.rcc_bug_fix_en); RTS51X_DEBUGP("HW_VERSION: 0x%x\n", val); if (val & FPGA_VER) { chip->asic_code = 0; diff --git a/drivers/staging/rts5139/rts51x_chip.h b/drivers/staging/rts5139/rts51x_chip.h index b3389aa9ede..2cb75753956 100644 --- a/drivers/staging/rts5139/rts51x_chip.h +++ b/drivers/staging/rts5139/rts51x_chip.h @@ -379,7 +379,6 @@ struct rts51x_option { /*if reset or rw fail,then set SD20 pad drive again */ u8 reset_or_rw_fail_set_pad_drive; - u8 rcc_bug_fix_en; /* if set,then support fixing rcc bug */ u8 debounce_num; /* debounce number */ int polling_time; /* polling delay time */ u8 led_toggle_interval; /* used to control led toggle speed */ |