Browse Source

netfilter: Kill unused copies of RCV_SKB_FAIL

This appears to have been a dead macro in both nfnetlink_log.c and
nfnetlink_queue_core.c since these pieces of code were added in 2005.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Eric W. Biederman 10 years ago
parent
commit
2fd1dc910b
2 changed files with 0 additions and 4 deletions
  1. 0 2
      net/netfilter/nfnetlink_log.c
  2. 0 2
      net/netfilter/nfnetlink_queue_core.c

+ 0 - 2
net/netfilter/nfnetlink_log.c

@@ -598,8 +598,6 @@ nla_put_failure:
 	return -1;
 	return -1;
 }
 }
 
 
-#define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0)
-
 static struct nf_loginfo default_loginfo = {
 static struct nf_loginfo default_loginfo = {
 	.type =		NF_LOG_TYPE_ULOG,
 	.type =		NF_LOG_TYPE_ULOG,
 	.u = {
 	.u = {

+ 0 - 2
net/netfilter/nfnetlink_queue_core.c

@@ -834,8 +834,6 @@ nfqnl_dev_drop(struct net *net, int ifindex)
 	rcu_read_unlock();
 	rcu_read_unlock();
 }
 }
 
 
-#define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0)
-
 static int
 static int
 nfqnl_rcv_dev_event(struct notifier_block *this,
 nfqnl_rcv_dev_event(struct notifier_block *this,
 		    unsigned long event, void *ptr)
 		    unsigned long event, void *ptr)