"Fossies" - the Fresh Open Source Software archive

Member "aoe6-83/conf/15-patches/old-new.diff" of archive aoe6-83.tar.gz:


--- aoe6-stand/linux/drivers/block/aoe/aoecmd.c.20070815	2007-08-15 17:29:30.000000000 -0400
+++ aoe6-stand/linux/drivers/block/aoe/aoecmd.c	2007-08-15 16:01:53.000000000 -0400
@@ -37,22 +37,6 @@ static struct {
 	spinlock_t lock;
 } iocq;
 
-static void
-skb_reset_network_header(struct sk_buff *skb)
-{
-	skb->nh.raw = skb->data;
-}
-static void
-skb_reset_mac_header(struct sk_buff *skb)
-{
-	skb->mac.raw = skb->data;
-}
-void *
-skb_mac_header(struct sk_buff *skb)
-{
-	return skb->mac.raw;
-}
-
 static struct sk_buff *
 new_skb(ulong len)
 {
diff -r c2297d59e47b linux/drivers/block/aoe/aoenet.c
--- a/linux/drivers/block/aoe/aoenet.c	Fri Jan 27 09:26:35 2012 -0500
+++ b/linux/drivers/block/aoe/aoenet.c	Fri Jan 27 09:25:13 2012 -0500
@@ -49,8 +49,6 @@ __setup("aoe_iflist=", aoe_iflist_setup)
 static spinlock_t txlock;
 static struct sk_buff_head skbtxq;
 
-void *skb_mac_header(struct sk_buff *skb);
-
 // enters with txlock held
 static void
 tx(void)