forked from luck/tmp_suning_uos_patched
fuse: remove unneeded variable
"map" isn't needed any more after: 0bd87182d3
"fuse: fix kunmap in
fuse_ioctl_copy_user"
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
This commit is contained in:
parent
7e125f7b9c
commit
4aa0edd294
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user