diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2022-05-12 14:09:05 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-13 11:26:59 +0100 |
commit | a19cef450bb6b1365c3bd5c82952f95b76688143 (patch) | |
tree | 81d59eb534d4dab10ad39466166a91646aa15abd /drivers/input/input.c | |
parent | b67fd3d9d94223b424674f45eeadeff58b4b03ef (diff) | |
download | linux-stable-a19cef450bb6b1365c3bd5c82952f95b76688143.tar.gz linux-stable-a19cef450bb6b1365c3bd5c82952f95b76688143.tar.bz2 linux-stable-a19cef450bb6b1365c3bd5c82952f95b76688143.zip |
net: ethernet: Use swap() instead of open coding it
Clean the following coccicheck warning:
./drivers/net/ethernet/sunplus/spl2sw_driver.c:217:27-28: WARNING
opportunity for swap().
./drivers/net/ethernet/sunplus/spl2sw_driver.c:222:27-28: WARNING
opportunity for swap().
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/input/input.c')
0 files changed, 0 insertions, 0 deletions