mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
ipv6: remove unused macros from net/ipv6.h
Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
725a8ff04a
commit
7abbcd6a4c
@ -131,7 +131,6 @@ DECLARE_SNMP_STAT(struct ipstats_mib, ipv6_statistics);
|
||||
|
||||
#define IP6_INC_STATS(idev,field) _DEVINC(ipv6, , idev, field)
|
||||
#define IP6_INC_STATS_BH(idev,field) _DEVINC(ipv6, _BH, idev, field)
|
||||
#define IP6_INC_STATS_USER(idev,field) _DEVINC(ipv6, _USER, idev, field)
|
||||
#define IP6_ADD_STATS_BH(idev,field,val) _DEVADD(ipv6, _BH, idev, field, val)
|
||||
|
||||
DECLARE_SNMP_STAT(struct icmpv6_mib, icmpv6_statistics);
|
||||
@ -139,20 +138,15 @@ DECLARE_SNMP_STAT(struct icmpv6msg_mib, icmpv6msg_statistics);
|
||||
|
||||
#define ICMP6_INC_STATS(idev, field) _DEVINC(icmpv6, , idev, field)
|
||||
#define ICMP6_INC_STATS_BH(idev, field) _DEVINC(icmpv6, _BH, idev, field)
|
||||
#define ICMP6_INC_STATS_USER(idev, field) _DEVINC(icmpv6, _USER, idev, field)
|
||||
|
||||
#define ICMP6MSGOUT_INC_STATS(idev, field) \
|
||||
_DEVINC(icmpv6msg, , idev, field +256)
|
||||
#define ICMP6MSGOUT_INC_STATS_BH(idev, field) \
|
||||
_DEVINC(icmpv6msg, _BH, idev, field +256)
|
||||
#define ICMP6MSGOUT_INC_STATS_USER(idev, field) \
|
||||
_DEVINC(icmpv6msg, _USER, idev, field +256)
|
||||
#define ICMP6MSGIN_INC_STATS(idev, field) \
|
||||
_DEVINC(icmpv6msg, , idev, field)
|
||||
#define ICMP6MSGIN_INC_STATS_BH(idev, field) \
|
||||
_DEVINC(icmpv6msg, _BH, idev, field)
|
||||
#define ICMP6MSGIN_INC_STATS_USER(idev, field) \
|
||||
_DEVINC(icmpv6msg, _USER, idev, field)
|
||||
|
||||
struct ip6_ra_chain
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user