[NETFILTER]: Fix PROC_FS=n warnings
Fix some unused function/variable warnings. Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
committed by
David S. Miller
parent
65195686ff
commit
76592584be
@@ -620,6 +620,7 @@ static ctl_table ipq_root_table[] = {
|
||||
{ .ctl_name = 0 }
|
||||
};
|
||||
|
||||
#ifdef CONFIG_PROC_FS
|
||||
static int
|
||||
ipq_get_info(char *buffer, char **start, off_t offset, int length)
|
||||
{
|
||||
@@ -653,6 +654,7 @@ ipq_get_info(char *buffer, char **start, off_t offset, int length)
|
||||
len = 0;
|
||||
return len;
|
||||
}
|
||||
#endif /* CONFIG_PROC_FS */
|
||||
|
||||
static struct nf_queue_handler nfqh = {
|
||||
.name = "ip6_queue",
|
||||
|
Reference in New Issue
Block a user