[PATCH] drivers/block/pktcdvd.c: remove write-only variable in pkt_iosched_process_queue()
Changes
1 files changed · +0 −3
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| drivers/block/pktcdvd.c | modified | +0 | −3 | View file |
drivers/block/pktcdvd.c
View filediff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c
index a280e67..59e5982 100644
--- a/drivers/block/pktcdvd.c
+++ b/drivers/block/pktcdvd.c
@@ -511,14 +511,11 @@ static void pkt_queue_bio(struct pktcdvd_device *pd, struct bio *bio)
*/
static void pkt_iosched_process_queue(struct pktcdvd_device *pd)
{
- request_queue_t *q;
if (atomic_read(&pd->iosched.attention) == 0)
return;
atomic_set(&pd->iosched.attention, 0);
- q = bdev_get_queue(pd->bdev);
-
for (;;) {
struct bio *bio;
int reads_queued, writes_queued;