diff options
author | Steve French <sfrench@us.ibm.com> | 2008-05-23 13:38:32 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-05-23 13:38:32 -0400 |
commit | aaa9bbe039febf1d3a0f3a374deea0680d9f5758 (patch) | |
tree | 179f59c74884bdd246c10bd6582a9cd3476534c8 /fs/cifs/readdir.c | |
parent | cbff290491cd97bcd449b14f672d98992ddad5cb (diff) |
[CIFS] remove unused variables
CC: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/readdir.c')
-rw-r--r-- | fs/cifs/readdir.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c index 713c25110197..df2c3c466ee1 100644 --- a/fs/cifs/readdir.c +++ b/fs/cifs/readdir.c | |||
@@ -675,8 +675,6 @@ static int find_cifs_entry(const int xid, struct cifsTconInfo *pTcon, | |||
675 | cifsFile->invalidHandle = true; | 675 | cifsFile->invalidHandle = true; |
676 | CIFSFindClose(xid, pTcon, cifsFile->netfid); | 676 | CIFSFindClose(xid, pTcon, cifsFile->netfid); |
677 | } | 677 | } |
678 | kfree(cifsFile->search_resume_name); | ||
679 | cifsFile->search_resume_name = NULL; | ||
680 | if (cifsFile->srch_inf.ntwrk_buf_start) { | 678 | if (cifsFile->srch_inf.ntwrk_buf_start) { |
681 | cFYI(1, ("freeing SMB ff cache buf on search rewind")); | 679 | cFYI(1, ("freeing SMB ff cache buf on search rewind")); |
682 | if (cifsFile->srch_inf.smallBuf) | 680 | if (cifsFile->srch_inf.smallBuf) |
@@ -1043,9 +1041,7 @@ int cifs_readdir(struct file *file, void *direntry, filldir_t filldir) | |||
1043 | } /* else { | 1041 | } /* else { |
1044 | cifsFile->invalidHandle = true; | 1042 | cifsFile->invalidHandle = true; |
1045 | CIFSFindClose(xid, pTcon, cifsFile->netfid); | 1043 | CIFSFindClose(xid, pTcon, cifsFile->netfid); |
1046 | } | 1044 | } */ |
1047 | kfree(cifsFile->search_resume_name); | ||
1048 | cifsFile->search_resume_name = NULL; */ | ||
1049 | 1045 | ||
1050 | rc = find_cifs_entry(xid, pTcon, file, | 1046 | rc = find_cifs_entry(xid, pTcon, file, |
1051 | ¤t_entry, &num_to_fill); | 1047 | ¤t_entry, &num_to_fill); |