linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block: fix compile warning
@ 2008-04-25 16:37 FUJITA Tomonori
  2008-04-29  7:55 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: FUJITA Tomonori @ 2008-04-25 16:37 UTC (permalink / raw)
  To: jens.axboe; +Cc: linux-scsi

This is against Jens' for-linus branch.

=
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Subject: [PATCH] block: fix compile warning

block/blk-core.c: In function __blk_run_queue
block/blk-core.c:382: warning: unused variable flags

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Jens Axboe <jens.axboe@oracle.com>
---
 block/blk-core.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/block/blk-core.c b/block/blk-core.c
index 35ae1c0..4fd42af 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -380,8 +380,6 @@ EXPORT_SYMBOL(blk_sync_queue);
  */
 void __blk_run_queue(struct request_queue *q)
 {
-	unsigned long flags;
-
 	blk_remove_plug(q);
 
 	/*
-- 
1.5.4.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] block: fix compile warning
  2008-04-25 16:37 [PATCH] block: fix compile warning FUJITA Tomonori
@ 2008-04-29  7:55 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2008-04-29  7:55 UTC (permalink / raw)
  To: FUJITA Tomonori; +Cc: linux-scsi

On Sat, Apr 26 2008, FUJITA Tomonori wrote:
> This is against Jens' for-linus branch.
> 
> =
> From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
> Subject: [PATCH] block: fix compile warning
> 
> block/blk-core.c: In function __blk_run_queue
> block/blk-core.c:382: warning: unused variable flags
> 
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
> Cc: Jens Axboe <jens.axboe@oracle.com>
> ---
>  block/blk-core.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/block/blk-core.c b/block/blk-core.c
> index 35ae1c0..4fd42af 100644
> --- a/block/blk-core.c
> +++ b/block/blk-core.c
> @@ -380,8 +380,6 @@ EXPORT_SYMBOL(blk_sync_queue);
>   */
>  void __blk_run_queue(struct request_queue *q)
>  {
> -	unsigned long flags;
> -
>  	blk_remove_plug(q);
>  
>  	/*
> -- 
> 1.5.4.2

Thanks Tomo!

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-29  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-25 16:37 [PATCH] block: fix compile warning FUJITA Tomonori
2008-04-29  7:55 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).