diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 15:50:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 04:14:07 -0400 |
commit | 61357325f377889a1daffa14962d705dc814dd0e (patch) | |
tree | 7b436f1097abbc5681de6d1e5901f62963b42220 /drivers/net/tlan.c | |
parent | d0cf9c0dadcdc89a755bcb301cfc9c796eb28ccf (diff) |
netdev: convert bulk of drivers to netdev_tx_t
In a couple of cases collapse some extra code like:
int retval = NETDEV_TX_OK;
...
return retval;
into
return NETDEV_TX_OK;
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tlan.c')
-rw-r--r-- | drivers/net/tlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tlan.c b/drivers/net/tlan.c index 70c9ec45d8fb..49e273bceed6 100644 --- a/drivers/net/tlan.c +++ b/drivers/net/tlan.c | |||
@@ -289,7 +289,7 @@ static void TLan_EisaProbe( void ); | |||
289 | static void TLan_Eisa_Cleanup( void ); | 289 | static void TLan_Eisa_Cleanup( void ); |
290 | static int TLan_Init( struct net_device * ); | 290 | static int TLan_Init( struct net_device * ); |
291 | static int TLan_Open( struct net_device *dev ); | 291 | static int TLan_Open( struct net_device *dev ); |
292 | static int TLan_StartTx( struct sk_buff *, struct net_device *); | 292 | static netdev_tx_t TLan_StartTx( struct sk_buff *, struct net_device *); |
293 | static irqreturn_t TLan_HandleInterrupt( int, void *); | 293 | static irqreturn_t TLan_HandleInterrupt( int, void *); |
294 | static int TLan_Close( struct net_device *); | 294 | static int TLan_Close( struct net_device *); |
295 | static struct net_device_stats *TLan_GetStats( struct net_device *); | 295 | static struct net_device_stats *TLan_GetStats( struct net_device *); |
@@ -1083,7 +1083,7 @@ static void TLan_tx_timeout_work(struct work_struct *work) | |||
1083 | * | 1083 | * |
1084 | **************************************************************/ | 1084 | **************************************************************/ |
1085 | 1085 | ||
1086 | static int TLan_StartTx( struct sk_buff *skb, struct net_device *dev ) | 1086 | static netdev_tx_t TLan_StartTx( struct sk_buff *skb, struct net_device *dev ) |
1087 | { | 1087 | { |
1088 | TLanPrivateInfo *priv = netdev_priv(dev); | 1088 | TLanPrivateInfo *priv = netdev_priv(dev); |
1089 | dma_addr_t tail_list_phys; | 1089 | dma_addr_t tail_list_phys; |