mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
d0cf9c0dad
commit
61357325f3
102 changed files with 253 additions and 173 deletions
|
|
@ -257,7 +257,8 @@ static int ieee802154_fake_close(struct net_device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int ieee802154_fake_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
static netdev_tx_t ieee802154_fake_xmit(struct sk_buff *skb,
|
||||
struct net_device *dev)
|
||||
{
|
||||
skb->iif = dev->ifindex;
|
||||
skb->dev = dev;
|
||||
|
|
|
|||
Loading…
Reference in a new issue