diff options
author | ChenXiaoSong <chenxiaosong@kylinos.cn> | 2024-08-22 08:20:52 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-08-22 09:52:00 -0500 |
commit | 0dd771b7d60b8281f10f6721783c60716d22075f (patch) | |
tree | b1598878ab24cb327e20c45da48f9f67a8528a9a /fs/smb | |
parent | 4e8771a3666c8f216eefd6bd2fd50121c6c437db (diff) |
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>
Diffstat (limited to 'fs/smb')
-rw-r--r-- | fs/smb/server/smb2pdu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/smb/server/smb2pdu.c b/fs/smb/server/smb2pdu.c index 5d170ab0817d..cd23517d9640 100644 --- a/fs/smb/server/smb2pdu.c +++ b/fs/smb/server/smb2pdu.c @@ -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) |