Removed include/linux/compat-3.17.h
authorVladimir Sokolovsky <vlad@mellanox.com>
Wed, 1 Apr 2015 19:11:52 +0000 (22:11 +0300)
committerVladimir Sokolovsky <vlad@mellanox.com>
Wed, 1 Apr 2015 19:11:52 +0000 (22:11 +0300)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
include/linux/compat-2.6.h
include/linux/compat-3.17.h [deleted file]

index 0ad18c4..e172a84 100644 (file)
@@ -73,6 +73,5 @@ void backport_dependency_symbol(void);
 #include <linux/compat-3.14.h>
 #include <linux/compat-3.15.h>
 #include <linux/compat-3.16.h>
-#include <linux/compat-3.17.h>
 
 #endif /* LINUX_26_COMPAT_H */
diff --git a/include/linux/compat-3.17.h b/include/linux/compat-3.17.h
deleted file mode 100644 (file)
index d2c054e..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-#ifndef LINUX_3_17_COMPAT_H
-#define LINUX_3_17_COMPAT_H
-
-#include <linux/version.h>
-#include <linux/dcbnl.h>
-
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0))
-
-#include <linux/netdevice.h>
-
-#ifdef alloc_netdev
-#undef alloc_netdev
-#define alloc_netdev(sizeof_priv, name, name_assign_type, setup) \
-       alloc_netdev_mqs(sizeof_priv, name, setup, 1, 1)
-#endif
-
-#ifndef CONFIG_COMPAT_IS_QCN
-
-enum dcbnl_cndd_states {
-       DCB_CNDD_RESET = 0,
-       DCB_CNDD_EDGE,
-       DCB_CNDD_INTERIOR,
-       DCB_CNDD_INTERIOR_READY,
-};
-
-struct ieee_qcn {
-       __u8 rpg_enable[IEEE_8021QAZ_MAX_TCS];
-       __u32 rppp_max_rps[IEEE_8021QAZ_MAX_TCS];
-       __u32 rpg_time_reset[IEEE_8021QAZ_MAX_TCS];
-       __u32 rpg_byte_reset[IEEE_8021QAZ_MAX_TCS];
-       __u32 rpg_threshold[IEEE_8021QAZ_MAX_TCS];
-       __u32 rpg_max_rate[IEEE_8021QAZ_MAX_TCS];
-       __u32 rpg_ai_rate[IEEE_8021QAZ_MAX_TCS];
-       __u32 rpg_hai_rate[IEEE_8021QAZ_MAX_TCS];
-       __u32 rpg_gd[IEEE_8021QAZ_MAX_TCS];
-       __u32 rpg_min_dec_fac[IEEE_8021QAZ_MAX_TCS];
-       __u32 rpg_min_rate[IEEE_8021QAZ_MAX_TCS];
-       __u32 cndd_state_machine[IEEE_8021QAZ_MAX_TCS];
-};
-
-struct ieee_qcn_stats {
-       __u64 rppp_rp_centiseconds[IEEE_8021QAZ_MAX_TCS];
-       __u32 rppp_created_rps[IEEE_8021QAZ_MAX_TCS];
-       __u32 ignored_cnm[IEEE_8021QAZ_MAX_TCS];
-       __u32 estimated_total_rate[IEEE_8021QAZ_MAX_TCS];
-       __u32 cnms_handled_successfully[IEEE_8021QAZ_MAX_TCS];
-       __u32 min_total_limiters_rate[IEEE_8021QAZ_MAX_TCS];
-       __u32 max_total_limiters_rate[IEEE_8021QAZ_MAX_TCS];
-};
-
-#endif
-
-
-#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0)) */
-
-#endif /* LINUX_3_17_COMPAT_H */