diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-03-21 06:27:54 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2012-03-21 12:55:44 -0400 |
commit | 815465c4d724e851932843227b4b700d64216cf2 (patch) | |
tree | 1ca2e93dad7d66fe8d63d2f9c87ad6f6e3c34239 /fs/cifs/cifsfs.c | |
parent | 6dae51a585008535858c29b489dbf90a913d511b (diff) |
cifs: clean up call to cifs_dfs_release_automount_timer()
Take the #ifdef junk out of the code, and turn it into a noop macro
when CONFIG_CIFS_DFS_UPCALL isn't defined.
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index f2661610fcf3..260025fd8c3b 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -1177,9 +1177,7 @@ exit_cifs(void) | |||
1177 | cFYI(DBG2, "exit_cifs"); | 1177 | cFYI(DBG2, "exit_cifs"); |
1178 | cifs_proc_clean(); | 1178 | cifs_proc_clean(); |
1179 | cifs_fscache_unregister(); | 1179 | cifs_fscache_unregister(); |
1180 | #ifdef CONFIG_CIFS_DFS_UPCALL | ||
1181 | cifs_dfs_release_automount_timer(); | 1180 | cifs_dfs_release_automount_timer(); |
1182 | #endif | ||
1183 | #ifdef CONFIG_CIFS_ACL | 1181 | #ifdef CONFIG_CIFS_ACL |
1184 | cifs_destroy_idmaptrees(); | 1182 | cifs_destroy_idmaptrees(); |
1185 | exit_cifs_idmap(); | 1183 | exit_cifs_idmap(); |