original_kernel/drivers/net/ethernet/sfc
Jiapeng Chong 0cf765fb00 sfc: Use swap() instead of open coding it
Clean the following coccicheck warning:

./drivers/net/ethernet/sfc/efx_channels.c:870:36-37: WARNING opportunity
for swap().

./drivers/net/ethernet/sfc/efx_channels.c:824:36-37: WARNING opportunity
for swap().

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Acked-by: Martin Habets <habetsm.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-01-06 12:39:36 +00:00
..
falcon Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-01-05 14:36:10 -08:00
Kconfig
Makefile
bitfield.h
ef10.c
ef10_regs.h
ef10_sriov.c
ef10_sriov.h
ef100.c
ef100.h
ef100_ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
ef100_ethtool.h
ef100_netdev.c
ef100_netdev.h
ef100_nic.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-12-16 16:13:19 -08:00
ef100_nic.h
ef100_regs.h
ef100_rx.c
ef100_rx.h
ef100_tx.c
ef100_tx.h
efx.c net: Don't include filter.h from net/sock.h 2021-12-29 08:48:14 -08:00
efx.h
efx_channels.c sfc: Use swap() instead of open coding it 2022-01-06 12:39:36 +00:00
efx_channels.h
efx_common.c net: Don't include filter.h from net/sock.h 2021-12-29 08:48:14 -08:00
efx_common.h
enum.h
ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
ethtool_common.c
ethtool_common.h
farch.c
farch_regs.h
filter.h
io.h
mcdi.c
mcdi.h
mcdi_filters.c
mcdi_filters.h
mcdi_functions.c
mcdi_functions.h
mcdi_mon.c
mcdi_pcol.h
mcdi_port.c
mcdi_port.h
mcdi_port_common.c ethernet/sfc: remove redundant rc variable 2022-01-04 12:41:41 +00:00
mcdi_port_common.h
mtd.c
net_driver.h
nic.c
nic.h
nic_common.h
ptp.c net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX 2021-12-14 12:28:24 +00:00
ptp.h
rx.c bpf: Let bpf_warn_invalid_xdp_action() report more info 2021-12-13 22:28:27 +01:00
rx_common.c sfc: The RX page_ring is optional 2022-01-04 18:14:21 -08:00
rx_common.h
selftest.c
selftest.h
siena.c
siena_sriov.c
siena_sriov.h
sriov.c
sriov.h
tx.c
tx.h
tx_common.c
tx_common.h
tx_tso.c
vfdi.h
workarounds.h