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:
Michael Straube 2021-08-16 17:58:02 +02:00 committed by Greg Kroah-Hartman
parent 4842e46f70
commit 35f1fa01c1

View file

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