]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb/client: remove unused elements from smb2_error_map_table array
authorChenXiaoSong <chenxiaosong@kylinos.cn>
Fri, 5 Dec 2025 13:25:28 +0000 (21:25 +0800)
committerSteve French <stfrench@microsoft.com>
Fri, 5 Dec 2025 23:46:41 +0000 (17:46 -0600)
commitbf80d1517dc847eb7b4d8b3c14bfe6ed48fa27ae
tree1239cd9b6a7af74baf90b41e2b7e89866d83a545
parent6c1eb31ecb97c07b4a880d59b3a83665359def36
smb/client: remove unused elements from smb2_error_map_table array

STATUS_SUCCESS and STATUS_WAIT_0 are both zero, and since zero indicates
success, they are not needed.

Since smb2_print_status() has been removed, the last element in the array
is no longer needed.

Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2maperror.c