lkml.org 
[lkml]   [2009]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ataflop: Killl warning about unused variable flags
On Sun, 13 Dec 2009, Geert Uytterhoeven wrote:

> After commit e0c0978699a83f26f2341f7eedc1463b79e31aff ("ataflop: remove
> buggy/commented-out IRQ disable from do_fd_request()") the `flags' variable
> became unused:
>
> drivers/block/ataflop.c:1473: warning: unused variable 'flags'
>
> Hence remove it.
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
> drivers/block/ataflop.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/block/ataflop.c b/drivers/block/ataflop.c
> index a5af1d6..e35cf59 100644
> --- a/drivers/block/ataflop.c
> +++ b/drivers/block/ataflop.c
> @@ -1470,8 +1470,6 @@ repeat:
>
> void do_fd_request(struct request_queue * q)
> {
> - unsigned long flags;
> -

Ah, I forogt to remove this one, thanks for noticing. I have queued your
patch in my tree.

Thanks,

--
Jiri Kosina
SUSE Labs, Novell Inc.


\
 
 \ /
  Last update: 2009-12-13 23:41    [W:0.042 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site