net/core: remove redundant sk_callback_lock initialization
authorGou Hao <gouhao@uniontech.com>
Sun, 26 May 2024 14:57:17 +0000 (22:57 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 28 May 2024 11:29:36 +0000 (13:29 +0200)
commitc65b6521115ed478471bf8c4a3687059fcea01aa
tree9fa06455b506dd1bdc5db4a8f6abdba9be4c4a39
parent5233a55a5254ea38dcdd8d836a0f9ee886c3df51
net/core: remove redundant sk_callback_lock initialization

sk_callback_lock has already been initialized in sk_init_common().

Signed-off-by: Gou Hao <gouhao@uniontech.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20240526145718.9542-1-gouhao@uniontech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/core/sock.c