um: remove unused variable

The buf variable is unused. Remove it.

Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Anton Ivanov <[email protected]>
Acked-by: Anton Ivanov <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
This commit is contained in:
Bartosz Golaszewski
2019-05-07 23:18:28 +02:00
committed by Richard Weinberger
parent 689a58605b
commit 4b6b4c9029
-1
View File
@@ -59,7 +59,6 @@ static pte_t *maybe_map(unsigned long virt, int is_write)
static int do_op_one_page(unsigned long addr, int len, int is_write,
int (*op)(unsigned long addr, int len, void *arg), void *arg)
{
jmp_buf buf;
struct page *page;
pte_t *pte;
int n;