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>
This commit is contained in:
YueHaibing 2019-01-21 07:53:13 +00:00 committed by Greg Kroah-Hartman
parent 4e4285849c
commit 585f22691d

View file

@ -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;