mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-10-31 16:54:21 +00:00
[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>
This commit is contained in:
parent
516949480d
commit
3d0a07e331
1 changed files with 0 additions and 2 deletions
|
|
@ -910,10 +910,8 @@ static struct inode_operations hostfs_dir_iops = {
|
||||||
int hostfs_link_readpage(struct file *file, struct page *page)
|
int hostfs_link_readpage(struct file *file, struct page *page)
|
||||||
{
|
{
|
||||||
char *buffer, *name;
|
char *buffer, *name;
|
||||||
long long start;
|
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
start = page->index << PAGE_CACHE_SHIFT;
|
|
||||||
buffer = kmap(page);
|
buffer = kmap(page);
|
||||||
name = inode_name(page->mapping->host, 0);
|
name = inode_name(page->mapping->host, 0);
|
||||||
if(name == NULL) return(-ENOMEM);
|
if(name == NULL) return(-ENOMEM);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue