mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
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:
parent
4e4285849c
commit
585f22691d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user