1
0
Fork 0

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: wengjianfeng <wengjianfeng@yulong.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210203062717.1228-1-samirweng1979@163.com
master
wengjianfeng 2021-02-03 14:27:17 +08:00 committed by Kalle Valo
parent bb779d476f
commit d48aea6054
1 changed files with 1 additions and 2 deletions

View File

@ -193,8 +193,7 @@ get_queue_num:
if (recontend_queue)
goto get_queue_num;
q_num = INVALID_QUEUE;
return q_num;
return INVALID_QUEUE;
}
common->selected_qnum = q_num;