net: convert remaining non-symbolic return values in ndo_start_xmit() functions
authorPatrick McHardy <kaber@trash.net>
Mon, 6 Jul 2009 02:23:38 +0000 (19:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2009 02:23:38 +0000 (19:23 -0700)
commitec634fe328182a1a098585bfc7b69e5042bdb08d
tree02883aaee743af10d78d6d8fe9181944b4dd4529
parenta73e76e23c20c05cb8c0b7ba8bc9daa04b05c80f
net: convert remaining non-symbolic return values in ndo_start_xmit() functions

This patch converts the remaining occurences of raw return values to their
symbolic counterparts in ndo_start_xmit() functions that were missed by the
previous automatic conversion.

Additionally code that assumed the symbolic value of NETDEV_TX_OK to be zero
is changed to explicitly use NETDEV_TX_OK.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
52 files changed:
arch/xtensa/platforms/iss/network.c
drivers/isdn/hysdn/hysdn_net.c
drivers/isdn/i4l/isdn_net.c
drivers/isdn/i4l/isdn_ppp.c
drivers/net/3c501.c
drivers/net/7990.c
drivers/net/a2065.c
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_alb.c
drivers/net/bonding/bond_main.c
drivers/net/defxx.c
drivers/net/depca.c
drivers/net/ibm_newemac/core.c
drivers/net/ifb.c
drivers/net/irda/ali-ircc.c
drivers/net/irda/donauboe.c
drivers/net/irda/nsc-ircc.c
drivers/net/irda/sir_dev.c
drivers/net/irda/smsc-ircc2.c
drivers/net/irda/via-ircc.c
drivers/net/lib8390.c
drivers/net/mlx4/en_tx.c
drivers/net/myri10ge/myri10ge.c
drivers/net/ni52.c
drivers/net/skfp/skfddi.c
drivers/net/sonic.c
drivers/net/tokenring/smctr.c
drivers/net/tokenring/tms380tr.c
drivers/net/tulip/dmfe.c
drivers/net/wan/dlci.c
drivers/net/wan/dscc4.c
drivers/net/wan/farsync.c
drivers/net/wan/lmc/lmc_main.c
drivers/net/wan/wanxl.c
drivers/net/wireless/hostap/hostap_80211_tx.c
drivers/net/wireless/ipw2x00/libipw_tx.c
drivers/net/wireless/prism54/islpci_eth.c
drivers/net/wireless/wavelan.c
drivers/net/wireless/wavelan_cs.c
drivers/net/wireless/wl3501_cs.c
drivers/s390/net/claw.c
drivers/s390/net/lcs.c
drivers/s390/net/netiucv.c
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c
drivers/staging/rt2860/rt_main_dev.c
drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
drivers/staging/rtl8187se/r8180_core.c
drivers/staging/wlan-ng/p80211netdev.c
net/atm/mpc.c
net/core/dev.c
net/mac80211/tx.c