diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-07 04:28:17 -0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2010-05-25 09:06:05 -0400 |
commit | 4aa0edd294f69e3100973a0ecfa1e6b5ab42d83a (patch) | |
tree | df5ba414193c609d2f2b45fc4a3af0250c69e26f /fs | |
parent | 7e125f7b9cbfce4101191b8076d606c517a73066 (diff) |
fuse: remove unneeded variable
"map" isn't needed any more after: 0bd87182d3ab18 "fuse: fix kunmap in
fuse_ioctl_copy_user"
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fuse/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index a9f5e137f1d3..4172bfee0f1a 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c | |||
@@ -1580,9 +1580,9 @@ static int fuse_ioctl_copy_user(struct page **pages, struct iovec *iov, | |||
1580 | while (iov_iter_count(&ii)) { | 1580 | while (iov_iter_count(&ii)) { |
1581 | struct page *page = pages[page_idx++]; | 1581 | struct page *page = pages[page_idx++]; |
1582 | size_t todo = min_t(size_t, PAGE_SIZE, iov_iter_count(&ii)); | 1582 | size_t todo = min_t(size_t, PAGE_SIZE, iov_iter_count(&ii)); |
1583 | void *kaddr, *map; | 1583 | void *kaddr; |
1584 | 1584 | ||
1585 | kaddr = map = kmap(page); | 1585 | kaddr = kmap(page); |
1586 | 1586 | ||
1587 | while (todo) { | 1587 | while (todo) { |
1588 | char __user *uaddr = ii.iov->iov_base + ii.iov_offset; | 1588 | char __user *uaddr = ii.iov->iov_base + ii.iov_offset; |