[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090528124548.21789.63516.stgit@jazzy.zrh.corp.google.com>
Date: Thu, 28 May 2009 14:45:51 +0200
From: Hannes Eder <hannes@...neseder.net>
To: netdev@...r.kernel.org
Cc: netfilter-devel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] net/netfilter: remove redundant variable
Signed-off-by: Hannes Eder <hannes@...neseder.net>
---
net/netfilter/nf_log.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/net/netfilter/nf_log.c b/net/netfilter/nf_log.c
index 7511aed..b584cc2 100644
--- a/net/netfilter/nf_log.c
+++ b/net/netfilter/nf_log.c
@@ -47,7 +47,6 @@ int nf_log_register(u_int8_t pf, struct nf_logger *logger)
mutex_lock(&nf_log_mutex);
if (pf == NFPROTO_UNSPEC) {
- int i;
for (i = NFPROTO_UNSPEC; i < NFPROTO_NUMPROTO; i++)
list_add_tail(&(logger->list[i]), &(nf_loggers_l[i]));
} else {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists