usbnet: convert 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
8b62ff2dbc
commit
25a79c41ce
@@ -771,7 +771,8 @@ static void write_bulk_callback(struct urb *urb)
|
||||
}
|
||||
|
||||
/* called by kernel when we need to transmit a packet */
|
||||
static int hso_net_start_xmit(struct sk_buff *skb, struct net_device *net)
|
||||
static netdev_tx_t hso_net_start_xmit(struct sk_buff *skb,
|
||||
struct net_device *net)
|
||||
{
|
||||
struct hso_net *odev = netdev_priv(net);
|
||||
int result;
|
||||
|
Reference in New Issue
Block a user