aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tlan.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-08-31 15:50:58 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-01 04:14:07 -0400
commit61357325f377889a1daffa14962d705dc814dd0e (patch)
tree7b436f1097abbc5681de6d1e5901f62963b42220 /drivers/net/tlan.c
parentd0cf9c0dadcdc89a755bcb301cfc9c796eb28ccf (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.c4
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 );
289static void TLan_Eisa_Cleanup( void ); 289static void TLan_Eisa_Cleanup( void );
290static int TLan_Init( struct net_device * ); 290static int TLan_Init( struct net_device * );
291static int TLan_Open( struct net_device *dev ); 291static int TLan_Open( struct net_device *dev );
292static int TLan_StartTx( struct sk_buff *, struct net_device *); 292static netdev_tx_t TLan_StartTx( struct sk_buff *, struct net_device *);
293static irqreturn_t TLan_HandleInterrupt( int, void *); 293static irqreturn_t TLan_HandleInterrupt( int, void *);
294static int TLan_Close( struct net_device *); 294static int TLan_Close( struct net_device *);
295static struct net_device_stats *TLan_GetStats( struct net_device *); 295static 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
1086static int TLan_StartTx( struct sk_buff *skb, struct net_device *dev ) 1086static 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;