staging: r8188eu: use min() instead of ternary operator
authorMichael Straube <straube.linux@gmail.com>
Sun, 30 Oct 2022 08:10:20 +0000 (09:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2022 08:04:22 +0000 (09:04 +0100)
commit737143dc87dfd3cb600a46092387c9caa814ce88
treec5fb9875bcc121cdf5a2e6f5b2e0583681c03eef
parent2fe5dc3dcc2920669217e3696ec15fec6630a92f
staging: r8188eu: use min() instead of ternary operator

Replace a ternary operator usage with the min() macro to improve
readability.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20221030081020.8533-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/ioctl_linux.c