This patch suppresses the now unused nf_log_unregister_pf() function which is as been replaced by the bind and unbind functions. Signed-off-by: Eric Leblond <eric@xxxxxx> --- net/netfilter/nf_log.c | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/net/netfilter/nf_log.c b/net/netfilter/nf_log.c index 50d34db..1271b4f 100644 --- a/net/netfilter/nf_log.c +++ b/net/netfilter/nf_log.c @@ -69,19 +69,6 @@ int nf_log_register(u_int8_t pf, struct nf_logger *logger) } EXPORT_SYMBOL(nf_log_register); -void nf_log_unregister_pf(u_int8_t pf) -{ - if (pf >= ARRAY_SIZE(nf_loggers)) - return; - mutex_lock(&nf_log_mutex); - rcu_assign_pointer(nf_loggers[pf], NULL); - mutex_unlock(&nf_log_mutex); - - /* Give time to concurrent readers. */ - synchronize_rcu(); -} -EXPORT_SYMBOL(nf_log_unregister_pf); - void nf_log_unregister(struct nf_logger *logger) { int i; -- 1.5.6.3 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html