Paul Bolle 9df9e78323 netfilter: nfnetlink: silence warning if CONFIG_PROVE_RCU isn't set
Since commit c14b78e7decd0d1d5add6a4604feb8609fe920a9 ("netfilter:
nfnetlink: add mutex per subsystem") building nefnetlink.o without
CONFIG_PROVE_RCU set, triggers this GCC warning:
    net/netfilter/nfnetlink.c:65:22: warning: ‘nfnl_get_lock’ defined but not used [-Wunused-function]

The cause of that warning is, in short, that rcu_lockdep_assert()
compiles away if CONFIG_PROVE_RCU is not set. Silence this warning by
open coding nfnl_get_lock() in the sole place it was called, which
allows to remove that function.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2013-03-04 14:45:36 +01:00
..
2013-02-11 14:16:26 -05:00
2013-01-29 10:48:30 +01:00
2013-02-21 12:05:51 -08:00
2013-02-21 12:05:51 -08:00
2013-02-14 15:55:19 +01:00
2013-02-21 12:05:51 -08:00
2013-02-21 12:05:51 -08:00
2013-02-21 12:05:51 -08:00
2013-02-21 12:05:51 -08:00
2013-02-21 12:05:51 -08:00
2013-02-21 12:05:51 -08:00
2013-02-21 12:05:51 -08:00
2013-02-21 12:05:51 -08:00
2013-02-10 19:41:08 -05:00
2013-02-11 14:16:26 -05:00