Skip to content
Commit 5ff0348b authored by Guo Zhengkui's avatar Guo Zhengkui Committed by Jakub Kicinski
Browse files

net: smc911x: replace ternary operator with min()



Fix the following coccicheck warning:

drivers/net/ethernet/smsc/smc911x.c:483:20-22: WARNING opportunity for min()

Signed-off-by: default avatarGuo Zhengkui <guozhengkui@vivo.com>
Link: https://lore.kernel.org/r/20220516115627.66363-1-guozhengkui@vivo.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent ab4d6357
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment