This fixes the following warning:
compat/compat-2.6.35.o
compat/compat-2.6.35.c: In function ‘netif_set_real_num_tx_queues’:
compat/compat-2.6.35.c:45:1: warning: control reaches end of non-void function [-Wreturn-type]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
dev->real_num_tx_queues = txq;
qdisc_reset_all_tx_gt(dev, txq);
}
+ return 0;
}
#else
int netif_set_real_num_tx_queues(struct net_device *dev, unsigned int txq)
{
dev->egress_subqueue_count = txq;
/* XXX: consider qdisc reset for older kernels */
+ return 0;
}
#endif
EXPORT_SYMBOL_GPL(netif_set_real_num_tx_queues);