diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-01-21 07:53:13 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 11:32:36 +0100 |
commit | 585f22691dcda2a0ab197072f3a14f0b5684adfc (patch) | |
tree | 5524840ecc044cabd18dd4f1a82ceb12b3ca5800 /drivers/staging/rtl8712 | |
parent | staging: wlan-ng: replace ---help--- with help in Kconfig (diff) | |
download | linux-dev-585f22691dcda2a0ab197072f3a14f0b5684adfc.tar.xz linux-dev-585f22691dcda2a0ab197072f3a14f0b5684adfc.zip |
staging: rtl8712: drop pointless static qualifier in r8712_efuse_pg_packet_write()
There is no need to have the 'intrepeat_times' variable static since new
value always be assigned before use it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712')
-rw-r--r-- | drivers/staging/rtl8712/rtl8712_efuse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl8712_efuse.c b/drivers/staging/rtl8712/rtl8712_efuse.c index 8bc45ffd3029..39eb74374d0b 100644 --- a/drivers/staging/rtl8712/rtl8712_efuse.c +++ b/drivers/staging/rtl8712/rtl8712_efuse.c @@ -358,7 +358,7 @@ u8 r8712_efuse_pg_packet_write(struct _adapter *padapter, const u8 offset, u8 pg_header = 0; u16 efuse_addr = 0, curr_size = 0; u8 efuse_data, target_word_cnts = 0; - static int repeat_times; + int repeat_times; int sub_repeat; u8 bResult = true; |