]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: wilc1000: Use min() to improve code
authorQianfeng Rong <rongqianfeng@vivo.com>
Tue, 15 Jul 2025 12:16:52 +0000 (20:16 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jul 2025 12:14:07 +0000 (14:14 +0200)
commit219cbc4d713e26792e93dda596f6e972583aa173
tree48a30dd3646d90056c93efdd4a19e5c578f35ef1
parent37fa920819363254d0701c6f3693a81538f99b2e
wifi: wilc1000: Use min() to improve code

Use min() to reduce the code and improve its readability.

Reviewed-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Link: https://patch.msgid.link/20250715121721.266713-7-rongqianfeng@vivo.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/microchip/wilc1000/wlan.c