aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-11-28 20:35:42 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:31:34 -0500
commit76592584be7828cd314bc8d5dc7773ff1692fb99 (patch)
treea0849035a07a9128ebccb3aa8aea17ba9e237d13 /net/ipv6
parent65195686ff2f088a73c1764f4d30be5c7e0eb089 (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.c2
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
623static int 624static int
624ipq_get_info(char *buffer, char **start, off_t offset, int length) 625ipq_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
657static struct nf_queue_handler nfqh = { 659static struct nf_queue_handler nfqh = {
658 .name = "ip6_queue", 660 .name = "ip6_queue",