diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-12-21 02:14:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-21 11:16:47 +0100 |
commit | c48c94b0ab75ef3bbfa539e6e212184e315fd5bd (patch) | |
tree | 523555363e7224ea25eceecada36a86c52de1e7d /net/ethernet/eth.c | |
parent | Merge branch 'net-amd-xgbe-add-support-for-yellow-carp-ethernet-device' (diff) | |
download | linux-c48c94b0ab75ef3bbfa539e6e212184e315fd5bd.tar.xz linux-c48c94b0ab75ef3bbfa539e6e212184e315fd5bd.zip |
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/ethernet/eth.c')
0 files changed, 0 insertions, 0 deletions