diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-10-17 02:26:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:50 -0400 |
commit | c1206a2c6d87def4af5379e6fef64e928d882ab2 (patch) | |
tree | 388c36ab43b2f9d2cf463871866b0fa97aa4154b /fs/afs/internal.h | |
parent | a4d63e729edad704af95e5f2a56e8c8eaaa5216b (diff) |
fs/afs/: possible cleanups
This patch contains the following possible cleanups:
- make the following needlessly global functions static:
- rxrpc.c: afs_send_pages()
- vlocation.c: afs_vlocation_queue_for_updates()
- write.c: afs_writepages_region()
- make the following needlessly global variables static:
- mntpt.c: afs_mntpt_expiry_timeout
- proc.c: afs_vlocation_states[]
- server.c: afs_server_timeout
- vlocation.c: afs_vlocation_timeout
- vlocation.c: afs_vlocation_update_timeout
- #if 0 the following unused function:
- cell.c: afs_get_cell_maybe()
- #if 0 the following unused variables:
- callback.c: afs_vnode_update_timeout
- cmservice.c: struct afs_cm_workqueue
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r-- | fs/afs/internal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h index 6306438f331f..5ca3625cd39e 100644 --- a/fs/afs/internal.h +++ b/fs/afs/internal.h | |||
@@ -570,7 +570,6 @@ extern int afs_abort_to_error(u32); | |||
570 | */ | 570 | */ |
571 | extern const struct inode_operations afs_mntpt_inode_operations; | 571 | extern const struct inode_operations afs_mntpt_inode_operations; |
572 | extern const struct file_operations afs_mntpt_file_operations; | 572 | extern const struct file_operations afs_mntpt_file_operations; |
573 | extern unsigned long afs_mntpt_expiry_timeout; | ||
574 | 573 | ||
575 | extern int afs_mntpt_check_symlink(struct afs_vnode *, struct key *); | 574 | extern int afs_mntpt_check_symlink(struct afs_vnode *, struct key *); |
576 | extern void afs_mntpt_kill_timer(void); | 575 | extern void afs_mntpt_kill_timer(void); |