]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpf, inode: Remove second initialization of the bpf_preload_lock
authorMuhammad Usama Anjum <musamaanjum@gmail.com>
Mon, 5 Apr 2021 19:49:04 +0000 (00:49 +0500)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 6 Apr 2021 21:39:13 +0000 (23:39 +0200)
commit957dca3df624abcbf895f5081fc664693aa0b363
tree45528a4d61afcc5407935d9a256a57bfd51c750d
parent928dc406802dc4547b5ef84c3075fe144d4cbcf1
bpf, inode: Remove second initialization of the bpf_preload_lock

bpf_preload_lock is already defined with DEFINE_MUTEX(). There is no
need to initialize it again. Remove the extraneous initialization.

Signed-off-by: Muhammad Usama Anjum <musamaanjum@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210405194904.GA148013@LEGION
kernel/bpf/inode.c