wan: convert drivers to netdev_tx_t
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
61a8410854
commit
d71a674922
@@ -25,7 +25,7 @@
|
||||
|
||||
static int raw_eth_ioctl(struct net_device *dev, struct ifreq *ifr);
|
||||
|
||||
static int eth_tx(struct sk_buff *skb, struct net_device *dev)
|
||||
static netdev_tx_t eth_tx(struct sk_buff *skb, struct net_device *dev)
|
||||
{
|
||||
int pad = ETH_ZLEN - skb->len;
|
||||
if (pad > 0) { /* Pad the frame with zeros */
|
||||
|
Reference in New Issue
Block a user