Skip to content

Commit 9ad09c5

Browse files
Phil Sutterdavem330
authored andcommitted
net: hsr: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <[email protected]> Cc: Arvid Brodin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent cdf7370 commit 9ad09c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/hsr/hsr_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ void hsr_dev_setup(struct net_device *dev)
392392
dev->header_ops = &hsr_header_ops;
393393
dev->netdev_ops = &hsr_device_ops;
394394
SET_NETDEV_DEVTYPE(dev, &hsr_type);
395-
dev->tx_queue_len = 0;
395+
dev->priv_flags |= IFF_NO_QUEUE;
396396

397397
dev->destructor = hsr_dev_destroy;
398398

0 commit comments

Comments
 (0)