]> 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 <sfrench@us.ibm.com>
Fri, 24 May 2013 18:26:41 +0000 (13:26 -0500)
commit6066ab9f895a91f32d727d74c5048d255cc00492
tree5c887a78c1ba9b54eb92607c4bc8d178d6a9cd9c
parent45fdad6c4d1fa5535a78914ad1dd94683d9a8412
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