diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2010-04-09 06:01:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 05:58:24 -0400 |
commit | cd58950a5345f006a318f178705b9250aa54425c (patch) | |
tree | dcb03a8a7fc911be029bf5d8efc3e98de04b386a /include/linux | |
parent | 1b6e66182dab42c42bdac72633dbe35b3dba8f69 (diff) |
skbuff: remove unused dev_consume_skb macro definition
dev_consume_skb and kfree_skb_clean have no users and in the case of
kfree_skb_clean could cause potential build issues since I cannot find
where it is defined. Based on the patch in which it was introduced it
appears to have been a bit of leftover code from an earlier version of the
patch in which kfree_skb_clean was dropped in favor of consume_skb.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/skbuff.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index cf42f194616e..38501d20650c 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -470,7 +470,6 @@ extern int skb_cow_data(struct sk_buff *skb, int tailbits, | |||
470 | struct sk_buff **trailer); | 470 | struct sk_buff **trailer); |
471 | extern int skb_pad(struct sk_buff *skb, int pad); | 471 | extern int skb_pad(struct sk_buff *skb, int pad); |
472 | #define dev_kfree_skb(a) consume_skb(a) | 472 | #define dev_kfree_skb(a) consume_skb(a) |
473 | #define dev_consume_skb(a) kfree_skb_clean(a) | ||
474 | extern void skb_over_panic(struct sk_buff *skb, int len, | 473 | extern void skb_over_panic(struct sk_buff *skb, int len, |
475 | void *here); | 474 | void *here); |
476 | extern void skb_under_panic(struct sk_buff *skb, int len, | 475 | extern void skb_under_panic(struct sk_buff *skb, int len, |