[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 27 Apr 2013 16:39:10 +0300
From: Rami Rosen <ramirose@...il.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, Rami Rosen <ramirose@...il.com>
Subject: [PATCH net-next] ipv4: remove unused macro.
This patch removes the IP_ADD_STATS macro from include/net/ip.h as
it is unused.
Signed-off-by: Rami Rosen <ramirose@...il.com>
---
include/net/ip.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/net/ip.h b/include/net/ip.h
index a68f838..a17ca36 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -174,7 +174,6 @@ struct ipv4_config {
extern struct ipv4_config ipv4_config;
#define IP_INC_STATS(net, field) SNMP_INC_STATS64((net)->mib.ip_statistics, field)
#define IP_INC_STATS_BH(net, field) SNMP_INC_STATS64_BH((net)->mib.ip_statistics, field)
-#define IP_ADD_STATS(net, field, val) SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val)
#define IP_ADD_STATS_BH(net, field, val) SNMP_ADD_STATS64_BH((net)->mib.ip_statistics, field, val)
#define IP_UPD_PO_STATS(net, field, val) SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, val)
#define IP_UPD_PO_STATS_BH(net, field, val) SNMP_UPD_PO_STATS64_BH((net)->mib.ip_statistics, field, val)
--
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists