]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
netfilter: Kill unused copies of RCV_SKB_FAIL
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 17 Jun 2015 15:28:10 +0000 (10:28 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 18 Jun 2015 19:14:27 +0000 (21:14 +0200)
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>
net/netfilter/nfnetlink_log.c
net/netfilter/nfnetlink_queue_core.c

index 4ef1fae8445ed5d00183e3b15c7ca18133957983..4670821b569d3270c6d47e51f1c10fca2a505970 100644 (file)
@@ -598,8 +598,6 @@ nla_put_failure:
        return -1;
 }
 
-#define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0)
-
 static struct nf_loginfo default_loginfo = {
        .type =         NF_LOG_TYPE_ULOG,
        .u = {
index 6eccf0fcdc63f195d034bf178d57f98c879eb6be..e26a46ef19ba1ce6d6dfadba67c4dfe6e4a4fd6c 100644 (file)
@@ -834,8 +834,6 @@ nfqnl_dev_drop(struct net *net, int ifindex)
        rcu_read_unlock();
 }
 
-#define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0)
-
 static int
 nfqnl_rcv_dev_event(struct notifier_block *this,
                    unsigned long event, void *ptr)