aboutsummaryrefslogtreecommitdiffstats
path: root/block/as-iosched.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/as-iosched.c')
-rw-r--r--block/as-iosched.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/block/as-iosched.c b/block/as-iosched.c
index a78e160b59a3..43fa20495688 100644
--- a/block/as-iosched.c
+++ b/block/as-iosched.c
@@ -1,6 +1,4 @@
1/* 1/*
2 * linux/drivers/block/as-iosched.c
3 *
4 * Anticipatory & deadline i/o scheduler. 2 * Anticipatory & deadline i/o scheduler.
5 * 3 *
6 * Copyright (C) 2002 Jens Axboe <axboe@suse.de> 4 * Copyright (C) 2002 Jens Axboe <axboe@suse.de>
@@ -1373,10 +1371,6 @@ static void as_add_request(request_queue_t *q, struct request *rq)
1373 struct as_rq *alias; 1371 struct as_rq *alias;
1374 int data_dir; 1372 int data_dir;
1375 1373
1376 if (arq->state != AS_RQ_PRESCHED) {
1377 printk("arq->state: %d\n", arq->state);
1378 WARN_ON(1);
1379 }
1380 arq->state = AS_RQ_NEW; 1374 arq->state = AS_RQ_NEW;
1381 1375
1382 if (rq_data_dir(arq->request) == READ 1376 if (rq_data_dir(arq->request) == READ