diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2005-12-29 11:39:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-29 12:48:15 -0500 |
commit | 3d0a07e3310c947c048bd01d8d0efa0e4fae5ba9 (patch) | |
tree | 7a12044022ecb0c3fcfd88a4d85a5afe91b5412a /fs/hostfs | |
parent | 516949480d3700cbde4272228a102c84721d6007 (diff) |
[PATCH] Hostfs: remove unused var
Trivial removal of unused variable from this file - doesn't even change the
generated assembly code, in fact (gcc should trigger a warning for unused value
here).
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/hostfs')
-rw-r--r-- | fs/hostfs/hostfs_kern.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 4684eb7d48c6..3aac164c7726 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c | |||
@@ -910,10 +910,8 @@ static struct inode_operations hostfs_dir_iops = { | |||
910 | int hostfs_link_readpage(struct file *file, struct page *page) | 910 | int hostfs_link_readpage(struct file *file, struct page *page) |
911 | { | 911 | { |
912 | char *buffer, *name; | 912 | char *buffer, *name; |
913 | long long start; | ||
914 | int err; | 913 | int err; |
915 | 914 | ||
916 | start = page->index << PAGE_CACHE_SHIFT; | ||
917 | buffer = kmap(page); | 915 | buffer = kmap(page); |
918 | name = inode_name(page->mapping->host, 0); | 916 | name = inode_name(page->mapping->host, 0); |
919 | if(name == NULL) return(-ENOMEM); | 917 | if(name == NULL) return(-ENOMEM); |