diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-12-21 09:14:55 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-21 10:16:47 +0000 |
commit | c48c94b0ab75ef3bbfa539e6e212184e315fd5bd (patch) | |
tree | 523555363e7224ea25eceecada36a86c52de1e7d /net/wireless/chan.c | |
parent | f7a5319b4477f7ebda28d7170c26394d1f240487 (diff) |
net/sched: use min() macro instead of doing it manually
Fix following coccicheck warnings:
./net/sched/cls_api.c:3333:17-18: WARNING opportunity for min()
./net/sched/cls_api.c:3389:17-18: WARNING opportunity for min()
./net/sched/cls_api.c:3427:17-18: WARNING opportunity for min()
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/chan.c')
0 files changed, 0 insertions, 0 deletions