fuse: remove unneeded variable
authorDan Carpenter <error27@gmail.com>
Fri, 7 May 2010 08:28:17 +0000 (10:28 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Tue, 25 May 2010 13:06:05 +0000 (15:06 +0200)
"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>
fs/fuse/file.c

index a9f5e13..4172bfe 100644 (file)
@@ -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;