From 60e9f728a7398b9e0146ef8cff0f043566987bf5 Mon Sep 17 00:00:00 2001 From: Sultan Qasim Khan Date: Sat, 6 Feb 2016 14:35:06 -0500 Subject: [PATCH] cfq-iosched: silence uninitialized variable warning --- block/cfq-iosched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {