diff options
author | Yajun Deng <yajun.deng@linux.dev> | 2021-07-29 09:48:54 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-07-30 18:35:47 +0200 |
commit | bc830525615df6b6b1793ac23750f32695903fd0 (patch) | |
tree | 00c3c7c320e15347660ce529555338b2451396fe /net/netlink | |
parent | Merge branch 'nfc-constify-pointed-data-missed-part' (diff) | |
download | linux-bc830525615df6b6b1793ac23750f32695903fd0.tar.xz linux-bc830525615df6b6b1793ac23750f32695903fd0.zip |
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')
-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); |