diff options
author | Patrick McHardy <kaber@trash.net> | 2006-11-28 20:35:42 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:31:34 -0500 |
commit | 76592584be7828cd314bc8d5dc7773ff1692fb99 (patch) | |
tree | a0849035a07a9128ebccb3aa8aea17ba9e237d13 /net/ipv6 | |
parent | 65195686ff2f088a73c1764f4d30be5c7e0eb089 (diff) |
[NETFILTER]: Fix PROC_FS=n warnings
Fix some unused function/variable warnings.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/netfilter/ip6_queue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/netfilter/ip6_queue.c b/net/ipv6/netfilter/ip6_queue.c index 21908c9a10da..d4d9f182441a 100644 --- a/net/ipv6/netfilter/ip6_queue.c +++ b/net/ipv6/netfilter/ip6_queue.c | |||
@@ -620,6 +620,7 @@ static ctl_table ipq_root_table[] = { | |||
620 | { .ctl_name = 0 } | 620 | { .ctl_name = 0 } |
621 | }; | 621 | }; |
622 | 622 | ||
623 | #ifdef CONFIG_PROC_FS | ||
623 | static int | 624 | static int |
624 | ipq_get_info(char *buffer, char **start, off_t offset, int length) | 625 | ipq_get_info(char *buffer, char **start, off_t offset, int length) |
625 | { | 626 | { |
@@ -653,6 +654,7 @@ ipq_get_info(char *buffer, char **start, off_t offset, int length) | |||
653 | len = 0; | 654 | len = 0; |
654 | return len; | 655 | return len; |
655 | } | 656 | } |
657 | #endif /* CONFIG_PROC_FS */ | ||
656 | 658 | ||
657 | static struct nf_queue_handler nfqh = { | 659 | static struct nf_queue_handler nfqh = { |
658 | .name = "ip6_queue", | 660 | .name = "ip6_queue", |