]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: remove useless memset in LANMAN auth code
authorJeff Layton <jlayton@redhat.com>
Fri, 24 May 2013 11:41:00 +0000 (07:41 -0400)
committerSteve French <smfrench@gmail.com>
Sun, 9 Jun 2013 21:52:43 +0000 (16:52 -0500)
commit9907ceb762bc18dd50b86b87ac198e852bbb39b5
treed6d51e7b6502ace993e6f0b376bba3dab6decead
parent6d6fee66be9112ef662b417096846902e23bc9ff
cifs: remove useless memset in LANMAN auth code

It turns out that CIFS_SESS_KEY_SIZE == CIFS_ENCPWD_SIZE, so this
memset doesn't do anything useful.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsencrypt.c