Message ID | 20210208024029.24412-1-samirweng1979@163.com |
---|---|
State | New |
Headers | show |
Series | [RESEND] rsi: remove redundant assignment | expand |
diff --git a/drivers/net/wireless/rsi/rsi_91x_core.c b/drivers/net/wireless/rsi/rsi_91x_core.c index 2d49c5b..a48e616 100644 --- a/drivers/net/wireless/rsi/rsi_91x_core.c +++ b/drivers/net/wireless/rsi/rsi_91x_core.c @@ -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;