summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/elevator.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/block/elevator.c b/block/elevator.c
index bcba2dd..ef7f594 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -230,10 +230,6 @@ int elevator_init(struct request_queue *q, char *name)
printk(KERN_ERR
"Default I/O scheduler not found. " \
"Using noop/none.\n");
- if (q->mq_ops) {
- elevator_put(e);
- return 0;
- }
e = elevator_get("noop", false);
}
}