Skip to contentSkip to conversation

block: fix compile warning

PATCH In review FUJITA Tomonori 2 participants 2 messages Apr 25, 2008 – Apr 29, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: fix compile warning

This is against Jens' for-linus branch.

=
From: FUJITA Tomonori <[email protected]>
Subject: [PATCH] block: fix compile warning

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

---
 block/blk-core.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
block/blk-core.c +0 -2
index 35ae1c0..4fd42af 100644
@@ -380,8 +380,6 @@ EXPORT_SYMBOL(blk_sync_queue);
  */
 void __blk_run_queue(struct request_queue *q)
 {
-	unsigned long flags;
-
 	blk_remove_plug(q);
 
 	/*
Signature · 1 line
1.5.4.2
#1 lore raw
Quoted 30 lines · FUJITA Tomonori

This is against Jens' for-linus branch.

=
From: FUJITA Tomonori <[email protected]>
Subject: [PATCH] block: fix compile warning

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

---
 block/blk-core.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
block/blk-core.c +0 -2
index 35ae1c0..4fd42af 100644
@@ -380,8 +380,6 @@ EXPORT_SYMBOL(blk_sync_queue);
  */
 void __blk_run_queue(struct request_queue *q)
 {
-	unsigned long flags;
-
 	blk_remove_plug(q);
 
 	/*
Signature · 1 line
1.5.4.2

Thanks Tomo!

Signature · 1 line
Jens Axboe