Searched hist:a19cef450bb6b1365c3bd5c82952f95b76688143 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_driver.c | diff a19cef450bb6b1365c3bd5c82952f95b76688143 Thu May 12 01:09:05 CDT 2022 Jiapeng Chong <jiapeng.chong@linux.alibaba.com> 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>
|