cifsd: return zero in always success case

Return zero in always success case.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
Namjae Jeon 2021-05-26 15:30:04 +09:00
Родитель b72802aa77
Коммит 876edcc4cf
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -943,7 +943,7 @@ static int generate_smb3signingkey(struct ksmbd_session *sess,
SMB2_NTLMV2_SESSKEY_SIZE, sess->sess_key);
ksmbd_debug(AUTH, "Signing Key %*ph\n",
SMB3_SIGN_KEY_SIZE, key);
return rc;
return 0;
}
int ksmbd_gen_smb30_signingkey(struct ksmbd_session *sess)
@ -1011,7 +1011,7 @@ static int generate_smb3encryptionkey(struct ksmbd_session *sess,
ksmbd_debug(AUTH, "ServerOut Key %*ph\n",
SMB3_GCM128_CRYPTKEY_SIZE, sess->smb3decryptionkey);
}
return rc;
return 0;
}
int ksmbd_gen_smb30_encryptionkey(struct ksmbd_session *sess)