mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
mailbox: mtk-cmdq: Remove cmdq_cb_status
cmdq_cb_status is an error status. Use the standard error number instead of cmdq_cb_status to prevent status duplication. Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org> Reviewed-by: Yongqiang Niu <yongqiang.niu@mediatek.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
This commit is contained in:
parent
4f0b776ef5
commit
b3c0d72b09
2 changed files with 6 additions and 11 deletions
|
@ -65,13 +65,8 @@ enum cmdq_code {
|
|||
CMDQ_CODE_LOGIC = 0xa0,
|
||||
};
|
||||
|
||||
enum cmdq_cb_status {
|
||||
CMDQ_CB_NORMAL = 0,
|
||||
CMDQ_CB_ERROR
|
||||
};
|
||||
|
||||
struct cmdq_cb_data {
|
||||
enum cmdq_cb_status sta;
|
||||
int sta;
|
||||
void *data;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue