mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
staging: r8188eu: simplify multiplication in core/rtw_ioctl_set.c
Simplify multiplication in core/rtw_ioctl_set.c. to improve readability and clear a checkpatch issue. CHECK: spaces preferred around that '/' (ctx:VxV) Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210816155818.24005-8-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4842e46f70
commit
35f1fa01c1
1 changed files with 1 additions and 1 deletions
|
@ -825,7 +825,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