]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: server: remove code guarded by nonexistent config option
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Wed, 10 Jun 2026 01:44:27 +0000 (18:44 -0700)
committerSteve French <stfrench@microsoft.com>
Tue, 16 Jun 2026 23:57:21 +0000 (18:57 -0500)
commitae7db37582ab441c33be148b1415116efab1025e
treee56b6f5c79c32f1b163726f39d7dc5854fa4a3f4
parentf4d556008fd443c05dc599ae3b1bd56c56c93741
smb: server: remove code guarded by nonexistent config option

A small piece of code in fs/smb/server/smb_common.c depends on
CONFIG_SMB_INSECURE_SERVER, which has never been defined in the
mainline kernel, but was present in old out-of-tree versions of ksmbd.
Remove this dead code.

Discovered while searching for CONFIG_* symbols referenced in code but
not defined in any Kconfig file.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/smb_common.c