linux/drivers/net
Jiapeng Chong 1039135aed net: ethernet: sun: Remove redundant code
Since the starting value in the for loop is greater than or equal to 1,
the restriction is CAS_FLAG_REG_PLUS is in the file cassini.h is
defined as 0x1 by macro, and the for loop and if condition is not
satisfied, so the code here is redundant.

Clean up the following smatch warning:

drivers/net/ethernet/sun/cassini.c:3513 cas_start_dma() warn: we never
enter this loop.

drivers/net/ethernet/sun/cassini.c:1239 cas_init_rx_dma() warn: we never
enter this loop.

drivers/net/ethernet/sun/cassini.c:1247 cas_init_rx_dma() warn: we never
enter this loop.

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>
2022-03-04 13:07:54 +00:00
..
appletalk
arcnet net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe() 2022-03-03 10:29:13 +00:00
bonding bonding: add new option ns_ip6_target 2022-02-21 12:13:45 +00:00
caif net: caif: Use netif_rx(). 2022-03-04 12:02:19 +00:00
can Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-03-03 11:55:12 -08:00
dsa net: dsa: Use netif_rx(). 2022-03-04 12:02:19 +00:00
ethernet net: ethernet: sun: Remove redundant code 2022-03-04 13:07:54 +00:00
fddi
fjes
hamradio net: hamradio: fix compliation error 2022-03-02 09:47:38 -08:00
hippi
hyperv Netvsc: Call hv_unmap_memory() in the netvsc_device_remove() 2022-02-09 11:54:05 +00:00
ieee802154 spi: Make remove() return void 2022-02-28 10:43:07 -08:00
ipa Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-03-03 11:55:12 -08:00
ipvlan
mctp mctp i2c: Fix hard head TX bounds length check 2022-02-25 22:23:33 -08:00
mdio Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-02-24 17:54:25 -08:00
netdevsim ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rt 2022-02-17 09:48:24 -08:00
pcs
phy net: phy: added ethtool master-slave configuration support 2022-03-04 12:45:19 +00:00
plip
ppp
slip
team teaming: deliver link-local packets with the link they arrive on 2022-02-18 11:40:52 +00:00
usb net: asix: remove code duplicates in asix_mdio_read/write and asix_mdio_read/write_nopm 2022-02-24 21:21:30 -08:00
vmxnet3
vxlan drivers: vxlan: vnifilter: add support for stats dumping 2022-03-01 08:38:02 +00:00
wan spi: Make remove() return void 2022-02-28 10:43:07 -08:00
wireguard
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-03-03 11:55:12 -08:00
wwan net: wwan: iosm: drop debugfs dev reference 2022-02-14 14:09:59 +00:00
xen-netback Revert "xen-netback: Check for hotplug-status existence before watching" 2022-02-24 08:58:37 -08:00
amt.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
bareudp.c
dummy.c
eql.c
geneve.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
gtp.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c net: Add skb_clear_tstamp() to keep the mono delivery_time 2022-03-03 14:38:48 +00:00
macsec.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
macvlan.c net: macvlan: Use netif_rx(). 2022-03-04 12:02:19 +00:00
macvtap.c macvtap: advertise link netns via netlink 2022-03-01 17:59:28 -08:00
Makefile vxlan: move to its own directory 2022-03-01 08:38:01 +00:00
mdio.c
mhi_net.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
rionet.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
sb1000.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
Space.c
sungem_phy.c
tap.c tuntap: add sanity checks about msg_controllen in sendmsg 2022-03-02 22:00:59 -08:00
thunderbolt.c
tun.c tuntap: add sanity checks about msg_controllen in sendmsg 2022-03-02 22:00:59 -08:00
veth.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
virtio_net.c virtio_net: Fix code indent error 2022-02-15 14:27:17 +00:00
vrf.c net: dev: Makes sure netif_rx() can be invoked in any context. 2022-02-14 13:38:35 +00:00
vsockmon.c
xen-netfront.c xen/netfront: destroy queues before real_num_tx_queues is zeroed 2022-02-25 10:27:01 +00:00