aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@poochiereds.net>2010-11-22 15:31:03 -0500
committerSteve French <sfrench@us.ibm.com>2010-12-06 17:45:19 -0500
commit884639996814585ef7079daa9e03a1eb562e235c (patch)
tree652d60d1716be67db2c21aaeaf643dc00d65e392 /fs/cifs/cifsfs.c
parent79df1baeec29022e4181f2964187b88661ef5517 (diff)
cifs: remove Local_System_Name
...this string is zeroed out and nothing ever changes it. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 56a4b7544c3c..3936aa7f2c22 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -937,7 +937,6 @@ init_cifs(void)
937 GlobalCurrentXid = 0; 937 GlobalCurrentXid = 0;
938 GlobalTotalActiveXid = 0; 938 GlobalTotalActiveXid = 0;
939 GlobalMaxActiveXid = 0; 939 GlobalMaxActiveXid = 0;
940 memset(Local_System_Name, 0, 15);
941 spin_lock_init(&cifs_tcp_ses_lock); 940 spin_lock_init(&cifs_tcp_ses_lock);
942 spin_lock_init(&cifs_file_list_lock); 941 spin_lock_init(&cifs_file_list_lock);
943 spin_lock_init(&GlobalMid_Lock); 942 spin_lock_init(&GlobalMid_Lock);