]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/if_tr.h
fat: use fat_detach() in fat_clear_inode()
[linux-2.6-omap-h63xx.git] / include / linux / if_tr.h
index 5502f597cf0e8808b582c6bb8d7cc52412bd2d11..5bcec8b2c5e2b557d1cdbbec372177c4bc3c24ed 100644 (file)
@@ -43,16 +43,12 @@ struct trh_hdr {
 };
 
 #ifdef __KERNEL__
-#include <linux/config.h>
 #include <linux/skbuff.h>
 
 static inline struct trh_hdr *tr_hdr(const struct sk_buff *skb)
 {
-       return (struct trh_hdr *)skb->mac.raw;
+       return (struct trh_hdr *)skb_mac_header(skb);
 }
-#ifdef CONFIG_SYSCTL
-extern struct ctl_table tr_table[];
-#endif
 #endif
 
 /* This is an Token-Ring LLC structure */