mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-23 23:47:35 -04:00
cifs: remove redundant assignment to pointer pneg_ctxt
The pointer pneg_ctxt is being initialized with a value that is never
read and it is being updated later with a new value. The assignment
is redundant and can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
committed by
Steve French
parent
69738cfdfa
commit
a9f76cf827
@@ -554,7 +554,7 @@ static void
|
||||
assemble_neg_contexts(struct smb2_negotiate_req *req,
|
||||
struct TCP_Server_Info *server, unsigned int *total_len)
|
||||
{
|
||||
char *pneg_ctxt = (char *)req;
|
||||
char *pneg_ctxt;
|
||||
unsigned int ctxt_len;
|
||||
|
||||
if (*total_len > 200) {
|
||||
|
||||
Reference in New Issue
Block a user