Re: [PATCH] inode: Remove second initialization of the bpf_preload_lock

2021-04-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Tue, 6 Apr 2021 00:49:04 +0500 you wrote: > 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 >

[PATCH] inode: Remove second initialization of the bpf_preload_lock

2021-04-05 Thread Muhammad Usama Anjum
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 --- kernel/bpf/inode.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/bpf/inode.c b/kernel/bpf/inode.c index 1576