Commit 0dd771b7 authored by ChenXiaoSong's avatar ChenXiaoSong Committed by Steve French
Browse files

smb/server: remove useless assignment of 'file_present' in smb2_open()



The variable is already true here.

Signed-off-by: default avatarChenXiaoSong <chenxiaosong@kylinos.cn>
Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 4e8771a3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3096,7 +3096,6 @@ int smb2_open(struct ksmbd_work *work)
			goto err_out;
		}

		file_present = true;
		idmap = mnt_idmap(path.mnt);
	} else {
		if (rc != -ENOENT)