From: Phil Sutter Date: Tue, 18 Aug 2015 08:30:45 +0000 (+0200) Subject: net: hsr: convert to using IFF_NO_QUEUE X-Git-Tag: Ubuntu-5.10.0-12.13~14174^2~141^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9ad09c5c05f7ce718d135ba8b55f9af733fc9b3f;p=mirror_ubuntu-hirsute-kernel.git net: hsr: convert to using IFF_NO_QUEUE Signed-off-by: Phil Sutter Cc: Arvid Brodin Signed-off-by: David S. Miller --- diff --git a/net/hsr/hsr_device.c b/net/hsr/hsr_device.c index 44d27469ae55..35a9788bb3ae 100644 --- a/net/hsr/hsr_device.c +++ b/net/hsr/hsr_device.c @@ -392,7 +392,7 @@ void hsr_dev_setup(struct net_device *dev) dev->header_ops = &hsr_header_ops; dev->netdev_ops = &hsr_device_ops; SET_NETDEV_DEVTYPE(dev, &hsr_type); - dev->tx_queue_len = 0; + dev->priv_flags |= IFF_NO_QUEUE; dev->destructor = hsr_dev_destroy;