OpenCloudOS-Kernel/drivers/net/tokenring
Julia Lawall 582b95c270 drivers/net/tokenring: Use status field rather than state field
In general in this file, it is the status field, not the state field, that
contains values like OPEN and CLOSED.  Indeed, in the first error case, it
is the field status that is initialized.  I have thus assumed that all of
the error handling code should be the same, and moved it to the end of the
function to emphasize its commonality.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-12 21:54:54 -07:00
..
3c359.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
3c359.h 3C359: use request_firmware 2009-03-30 20:02:50 +05:30
Kconfig net: Allow dependancies of FDDI & Tokenring to be modular. 2008-12-27 20:43:48 -08:00
Makefile
abyss.c tms380tr: convert to net_device_ops 2009-01-21 14:02:30 -08:00
abyss.h
ibmtr.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-07-30 19:22:43 -07:00
lanstreamer.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
lanstreamer.h lanstreamer: convert to internal network stats 2009-01-21 14:02:27 -08:00
madgemc.c tokenring: convert drivers to net_device_ops 2009-03-27 00:46:43 -07:00
madgemc.h
olympic.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
olympic.h olympic: convert to internal network device stats 2009-01-21 14:02:29 -08:00
proteon.c tokenring: convert drivers to net_device_ops 2009-03-27 00:46:43 -07:00
skisa.c tokenring: convert drivers to net_device_ops 2009-03-27 00:46:43 -07:00
smctr.c drivers/net/tokenring: Use status field rather than state field 2009-08-12 21:54:54 -07:00
smctr.h drivers/net/tokenring: fix sparse warning: cast truncates bits from const value 2009-02-17 19:49:21 -08:00
tms380tr.c net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
tms380tr.h tms380tr: convert to net_device_ops 2009-01-21 14:02:30 -08:00
tmspci.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00