build: remove support for Linux 2.6.23

This commit is contained in:
Jan Engelhardt
2012-10-15 23:55:30 +02:00
parent 6ab4c02a54
commit 04d8ebe31c
12 changed files with 15 additions and 85 deletions

View File

@@ -67,11 +67,7 @@ tee_tg_route4(struct sk_buff *skb, const struct xt_tee_tginfo *info)
static inline bool dev_hh_avail(const struct net_device *dev)
{
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 23)
return dev->hard_header != NULL;
#else
return dev->header_ops != NULL;
#endif
}
/*