diff options
Diffstat (limited to 'block/blk.h')
-rw-r--r-- | block/blk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk.h b/block/blk.h index 874eb4ea8093..08081e4b294e 100644 --- a/block/blk.h +++ b/block/blk.h | |||
@@ -62,7 +62,7 @@ static inline struct request *__elv_next_request(struct request_queue *q) | |||
62 | rq = list_entry_rq(q->queue_head.next); | 62 | rq = list_entry_rq(q->queue_head.next); |
63 | rq = blk_do_ordered(q, rq); | 63 | rq = blk_do_ordered(q, rq); |
64 | if (rq) | 64 | if (rq) |
65 | return !IS_ERR(rq) ? rq : NULL; | 65 | return rq; |
66 | } | 66 | } |
67 | 67 | ||
68 | if (!q->elevator->ops->elevator_dispatch_fn(q, 0)) | 68 | if (!q->elevator->ops->elevator_dispatch_fn(q, 0)) |