diff options
author | Yajun Deng <yajun.deng@linux.dev> | 2021-07-29 15:48:54 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-07-30 18:35:47 +0200 |
commit | bc830525615df6b6b1793ac23750f32695903fd0 (patch) | |
tree | 00c3c7c320e15347660ce529555338b2451396fe /net/netlink/genetlink.c | |
parent | 373a1f2bd6718c7103ec3ee242b9c2d51587440f (diff) |
net: netlink: Remove unused function
lockdep_genl_is_held() and its caller arm not used now, just remove them.
Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Link: https://lore.kernel.org/r/20210729074854.8968-1-yajun.deng@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/netlink/genetlink.c')
-rw-r--r-- | net/netlink/genetlink.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c index ae58da608a31..1afca2a6c2ac 100644 --- a/net/netlink/genetlink.c +++ b/net/netlink/genetlink.c @@ -40,14 +40,6 @@ void genl_unlock(void) } EXPORT_SYMBOL(genl_unlock); -#ifdef CONFIG_LOCKDEP -bool lockdep_genl_is_held(void) -{ - return lockdep_is_held(&genl_mutex); -} -EXPORT_SYMBOL(lockdep_genl_is_held); -#endif - static void genl_lock_all(void) { down_write(&cb_lock); |