[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4afb5d38-f2bd-9e79-fc62-c0cae83953e3@cambridgegreys.com>
Date: Wed, 13 Mar 2019 09:48:51 +0000
From: Anton Ivanov <anton.ivanov@...bridgegreys.com>
To: Bartosz Golaszewski <brgl@...ev.pl>, Jeff Dike <jdike@...toit.com>,
Richard Weinberger <richard@....at>
Cc: Bartosz Golaszewski <bgolaszewski@...libre.com>,
linux-um@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] um: remove unused variable
On 12/03/2019 13:30, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@...libre.com>
>
> The buf variable is unused. Remove it.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@...libre.com>
> ---
> arch/um/kernel/skas/uaccess.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/um/kernel/skas/uaccess.c b/arch/um/kernel/skas/uaccess.c
> index 7f06fdbc7ee1..bd3cb694322c 100644
> --- a/arch/um/kernel/skas/uaccess.c
> +++ b/arch/um/kernel/skas/uaccess.c
> @@ -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;
>
Reviewed-by: Anton Ivanov <anton.ivanov@...bridgegreys.com>
Acked-by: Anton Ivanov <anton.ivanov@...bridgegreys.com>
--
Anton R. Ivanov
Cambridgegreys Limited. Registered in England. Company Number 10273661
https://www.cambridgegreys.com/
Powered by blists - more mailing lists