diff options
author | Michael Straube <[email protected]> | 2021-08-16 17:58:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-08-17 19:56:05 +0200 |
commit | 35f1fa01c1c2e829f12e03d49c71f2c5625c6c0d (patch) | |
tree | 3d8377ebd101eac4d46849ab2bd302e38a0e9698 | |
parent | 4842e46f703c484598cf055ae4bc108fdf4b26d6 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/r8188eu/core/rtw_ioctl_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/core/rtw_ioctl_set.c b/drivers/staging/r8188eu/core/rtw_ioctl_set.c index edcac238076a..bb6bc6508255 100644 --- a/drivers/staging/r8188eu/core/rtw_ioctl_set.c +++ b/drivers/staging/r8188eu/core/rtw_ioctl_set.c @@ -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; |