staging: rtl8723bs: Use min() instead of doing it manually
authorHaowen Bai <baihaowen@meizu.com>
Fri, 11 Mar 2022 07:17:32 +0000 (15:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Mar 2022 17:33:08 +0000 (18:33 +0100)
commit6413489354f1c67f56f64625d648b9adf4463795
tree680bfae565a0291c34bc17502683ecd21cc784f8
parent65c873c37ec36bbecd1b7da753061d214f23474b
staging: rtl8723bs: Use min() instead of doing it manually

Fix following coccicheck warning:
drivers/staging/rtl8723bs/core/rtw_xmit.c:452:25-26: WARNING opportunity for min()

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Link: https://lore.kernel.org/r/1646983052-16390-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_xmit.c