gtp: remove dead code in gtp_link_setup()

I don't find a good reason why this can't be used with pktgen
(IFF_TX_SKB_SHARING) and the tx_queue is already zero if not
initialized.
This commit is contained in:
Pablo Neira Ayuso 2014-02-20 01:04:01 +01:00
parent 972c2a20b0
commit c63d5c5b86
1 changed files with 0 additions and 3 deletions

3
gtp.c
View File

@ -744,9 +744,6 @@ static void gtp_link_setup(struct net_device *dev)
{
struct gtp_instance *gti = netdev_priv(dev);
dev->priv_flags &= ~(IFF_TX_SKB_SHARING);
dev->tx_queue_len = 0;
dev->netdev_ops = &gtp_netdev_ops;
dev->destructor = free_netdev;