aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-05-07 10:28:17 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2010-05-25 15:06:05 +0200
commit4aa0edd294f69e3100973a0ecfa1e6b5ab42d83a (patch)
treedf5ba414193c609d2f2b45fc4a3af0250c69e26f /fs/fuse/file.c
parent7e125f7b9cbfce4101191b8076d606c517a73066 (diff)
downloadkernel_samsung_tuna-4aa0edd294f69e3100973a0ecfa1e6b5ab42d83a.zip
kernel_samsung_tuna-4aa0edd294f69e3100973a0ecfa1e6b5ab42d83a.tar.gz
kernel_samsung_tuna-4aa0edd294f69e3100973a0ecfa1e6b5ab42d83a.tar.bz2
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/file.c')
-rw-r--r--fs/fuse/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index a9f5e13..4172bfe 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;