Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c89e5198 authored by Steve French's avatar Steve French
Browse files

[CIFS] Eliminate unused variable warning



CC: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 37822188
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -620,7 +620,6 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses,
	struct key *spnego_key = NULL;
	__le32 phase = NtLmNegotiate; /* NTLMSSP, if needed, is multistage */
	bool first_time;
	char *ntlmsspblob;

	if (ses == NULL)
		return -EINVAL;
@@ -868,6 +867,8 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses,
				iov[1].iov_base = &pSMB->req.SecurityBlob[0];
			} else if (phase == NtLmAuthenticate) {
				int blob_len;
				char *ntlmsspblob;

				ntlmsspblob = kmalloc(5 *
					sizeof(struct _AUTHENTICATE_MESSAGE),
					GFP_KERNEL);