diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-07 10:28:17 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2010-05-25 15:06:05 +0200 |
commit | 4aa0edd294f69e3100973a0ecfa1e6b5ab42d83a (patch) | |
tree | df5ba414193c609d2f2b45fc4a3af0250c69e26f /fs/fuse | |
parent | 7e125f7b9cbfce4101191b8076d606c517a73066 (diff) | |
download | linux-3.10-4aa0edd294f69e3100973a0ecfa1e6b5ab42d83a.tar.gz linux-3.10-4aa0edd294f69e3100973a0ecfa1e6b5ab42d83a.tar.bz2 linux-3.10-4aa0edd294f69e3100973a0ecfa1e6b5ab42d83a.zip |
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/fuse')
-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 a9f5e137f1d..4172bfee0f1 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, while (iov_iter_count(&ii)) { struct page *page = pages[page_idx++]; size_t todo = min_t(size_t, PAGE_SIZE, iov_iter_count(&ii)); - void *kaddr, *map; + void *kaddr; - kaddr = map = kmap(page); + kaddr = kmap(page); while (todo) { char __user *uaddr = ii.iov->iov_base + ii.iov_offset; |