From: Vladimir Sokolovsky Date: Thu, 12 Jul 2012 20:26:36 +0000 (+0300) Subject: compat: Add netdev_tx_sent_queue and netdev_tx_completed_queue X-Git-Tag: vofed-3.5-x~7 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=af528a27c455675ed706688a488bd36d30ec074c;p=compat-rdma%2Fcompat.git compat: Add netdev_tx_sent_queue and netdev_tx_completed_queue [linux-2.6] (master)$ git describe --contains \ c5d67bd78c5dc540e3461c36fb3d389fbe0de4c3 v3.3-rc1~182^2~426 Signed-off-by: Vladimir Sokolovsky --- diff --git a/include/linux/compat-3.3.h b/include/linux/compat-3.3.h index 3342852..45a078a 100644 --- a/include/linux/compat-3.3.h +++ b/include/linux/compat-3.3.h @@ -72,6 +72,16 @@ module_exit(__driver##_exit); module_driver(__usb_driver, usb_register, \ usb_deregister) +static inline void netdev_tx_sent_queue(struct netdev_queue *dev_queue, + unsigned int bytes) +{ +} + +static inline void netdev_tx_completed_queue(struct netdev_queue *dev_queue, + unsigned pkts, unsigned bytes) +{ +} + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)) */ #endif /* LINUX_3_3_COMPAT_H */