mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
usbnet: convert to netdev_tx_t
Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
8b62ff2dbc
commit
25a79c41ce
9 changed files with 21 additions and 14 deletions
|
|
@ -465,7 +465,8 @@ static inline int is_promisc(u16 cdc_filter)
|
|||
return cdc_filter & USB_CDC_PACKET_TYPE_PROMISCUOUS;
|
||||
}
|
||||
|
||||
static int eth_start_xmit(struct sk_buff *skb, struct net_device *net)
|
||||
static netdev_tx_t eth_start_xmit(struct sk_buff *skb,
|
||||
struct net_device *net)
|
||||
{
|
||||
struct eth_dev *dev = netdev_priv(net);
|
||||
int length = skb->len;
|
||||
|
|
|
|||
Loading…
Reference in a new issue