diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index de7043a32cc3..aee7387cd623 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c @@ -3647,7 +3647,7 @@ cfq_get_queue(struct cfq_data *cfqd, bool is_sync, struct cfq_io_cq *cic, { int ioprio_class = IOPRIO_PRIO_CLASS(cic->ioprio); int ioprio = IOPRIO_PRIO_DATA(cic->ioprio); - struct cfq_queue **async_cfqq; + struct cfq_queue **async_cfqq = NULL; struct cfq_queue *cfqq; if (!is_sync) {