提交 a675dc21 编写于 作者: M Malcolm Priestley 提交者: Greg Kroah-Hartman

staging: vt6656: s_bCommandComplete remove else from if

if returns out so remove else
Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 18647c58
......@@ -147,12 +147,14 @@ static int s_bCommandComplete(struct vnt_private *pDevice)
//Command Queue Empty
pDevice->bCmdRunning = false;
return true;
} else {
}
pDevice->eCommand = pDevice->eCmdQueue[pDevice->uCmdDequeueIdx].eCmd;
ADD_ONE_WITH_WRAP_AROUND(pDevice->uCmdDequeueIdx, CMD_Q_SIZE);
pDevice->cbFreeCmdQueue++;
pDevice->bCmdRunning = true;
switch (pDevice->eCommand) {
case WLAN_CMD_INIT_MAC80211:
pDevice->eCommandState = WLAN_CMD_INIT_MAC80211_START;
......@@ -181,8 +183,8 @@ static int s_bCommandComplete(struct vnt_private *pDevice)
default:
break;
}
vCommandTimerWait(pDevice, 0);
}
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册