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

The variable is already true here.

Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
ChenXiaoSong 2024-08-22 08:20:52 +00:00 committed by Steve French
parent 4e8771a366
commit 0dd771b7d6

View File

@ -3096,7 +3096,6 @@ int smb2_open(struct ksmbd_work *work)
goto err_out; goto err_out;
} }
file_present = true;
idmap = mnt_idmap(path.mnt); idmap = mnt_idmap(path.mnt);
} else { } else {
if (rc != -ENOENT) if (rc != -ENOENT)