mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
staging: rtl8188eu: simplify calculation
Simplify calcualation: * 10 / 2 can be reduced to * 5 Also cleans missing spaces checkpatch issues. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8204b61a77
commit
1ad53b2df9
1 changed files with 1 additions and 1 deletions
|
|
@ -575,7 +575,7 @@ u16 rtw_get_cur_max_rate(struct adapter *adapter)
|
|||
i++;
|
||||
}
|
||||
|
||||
max_rate = max_rate*10/2;
|
||||
max_rate *= 5;
|
||||
}
|
||||
|
||||
return max_rate;
|
||||
|
|
|
|||
Loading…
Reference in a new issue