All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Kosina <jikos@kernel.org>
To: YueHaibing <yuehaibing@huawei.com>
Cc: Jens Axboe <axboe@kernel.dk>,
	linux-block@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH -next] floppy: remove set but not used variable 'q'
Date: Tue, 19 Feb 2019 10:01:25 +0100 (CET)	[thread overview]
Message-ID: <nycvar.YFH.7.76.1902191001070.11598@cbobk.fhfr.pm> (raw)
In-Reply-To: <20190218084232.193878-1-yuehaibing@huawei.com>

On Mon, 18 Feb 2019, YueHaibing wrote:

> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/block/floppy.c: In function 'request_done':
> drivers/block/floppy.c:2233:24: warning:
>  variable 'q' set but not used [-Wunused-but-set-variable]
> 
> It's never used and can be removed.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Acked-by: Jiri Kosina <jkosina@suse.cz>

Jens, could you please take this through your tree?

Thanks.

-- 
Jiri Kosina
SUSE Labs


WARNING: multiple messages have this Message-ID (diff)
From: Jiri Kosina <jikos@kernel.org>
To: YueHaibing <yuehaibing@huawei.com>
Cc: Jens Axboe <axboe@kernel.dk>,
	linux-block@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH -next] floppy: remove set but not used variable 'q'
Date: Tue, 19 Feb 2019 09:01:25 +0000	[thread overview]
Message-ID: <nycvar.YFH.7.76.1902191001070.11598@cbobk.fhfr.pm> (raw)
In-Reply-To: <20190218084232.193878-1-yuehaibing@huawei.com>

On Mon, 18 Feb 2019, YueHaibing wrote:

> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/block/floppy.c: In function 'request_done':
> drivers/block/floppy.c:2233:24: warning:
>  variable 'q' set but not used [-Wunused-but-set-variable]
> 
> It's never used and can be removed.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Acked-by: Jiri Kosina <jkosina@suse.cz>

Jens, could you please take this through your tree?

Thanks.

-- 
Jiri Kosina
SUSE Labs

  reply	other threads:[~2019-02-19  9:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-18  8:42 [PATCH -next] floppy: remove set but not used variable 'q' YueHaibing
2019-02-18  8:42 ` YueHaibing
2019-02-19  9:01 ` Jiri Kosina [this message]
2019-02-19  9:01   ` Jiri Kosina
2019-02-28 21:06 ` Jens Axboe
2019-02-28 21:06   ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nycvar.YFH.7.76.1902191001070.11598@cbobk.fhfr.pm \
    --to=jikos@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-block@vger.kernel.org \
    --cc=yuehaibing@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.