diff options
Diffstat (limited to 'block/as-iosched.c')
-rw-r--r-- | block/as-iosched.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/block/as-iosched.c b/block/as-iosched.c index fbe050124ec5..43fa20495688 100644 --- a/block/as-iosched.c +++ b/block/as-iosched.c | |||
@@ -1371,10 +1371,6 @@ static void as_add_request(request_queue_t *q, struct request *rq) | |||
1371 | struct as_rq *alias; | 1371 | struct as_rq *alias; |
1372 | int data_dir; | 1372 | int data_dir; |
1373 | 1373 | ||
1374 | if (arq->state != AS_RQ_PRESCHED) { | ||
1375 | printk("arq->state: %d\n", arq->state); | ||
1376 | WARN_ON(1); | ||
1377 | } | ||
1378 | arq->state = AS_RQ_NEW; | 1374 | arq->state = AS_RQ_NEW; |
1379 | 1375 | ||
1380 | if (rq_data_dir(arq->request) == READ | 1376 | if (rq_data_dir(arq->request) == READ |