aoe: remove unecessary wrapper function
[profile/ivi/kernel-adaptation-intel-automotive.git] / drivers / block / aoe / aoe.h
index ba07f76..07f02f8 100644 (file)
@@ -48,15 +48,6 @@ struct aoe_hdr {
        __be32 tag;
 };
 
-#ifdef __KERNEL__
-#include <linux/skbuff.h>
-
-static inline struct aoe_hdr *aoe_hdr(const struct sk_buff *skb)
-{
-       return (struct aoe_hdr *)skb_mac_header(skb);
-}
-#endif
-
 struct aoe_atahdr {
        unsigned char aflags;
        unsigned char errfeat;