diff options
author | Steve French <sfrench@us.ibm.com> | 2010-08-26 02:11:54 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-08-26 02:11:54 +0000 |
commit | c89e5198b26a869ce2842bad8519264f3394dee9 (patch) | |
tree | bfad402886c41ffc12047c006a0725bd3c01fe49 /fs/cifs | |
parent | 37822188ef7bb41ae47b84ae283e6ac93cdafb9c (diff) |
[CIFS] Eliminate unused variable warning
CC: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/sess.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c index 4788e16a02c..795095f4eac 100644 --- a/fs/cifs/sess.c +++ b/fs/cifs/sess.c @@ -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 @@ ssetup_ntlmssp_authenticate: 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); |