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
This commit is contained in:
parent
bb779d476f
commit
d48aea6054
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue