Commit d48aea60 authored by wengjianfeng's avatar wengjianfeng Committed by Kalle Valo

rsi: remove redundant assignment

INVALID_QUEUE has been used as a return value,it is not necessary to
assign it to q_num,so just return INVALID_QUEUE.
Signed-off-by: default avatarwengjianfeng <wengjianfeng@yulong.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210203062717.1228-1-samirweng1979@163.com
parent bb779d47
......@@ -193,8 +193,7 @@ static u8 rsi_core_determine_hal_queue(struct rsi_common *common)
if (recontend_queue)
goto get_queue_num;
q_num = INVALID_QUEUE;
return q_num;
return INVALID_QUEUE;
}
common->selected_qnum = q_num;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment