diff options
author | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2021-03-15 02:33:21 +0300 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2021-06-26 19:39:54 +0300 |
commit | b3c0d72b092e52ae7369b52fb97f63eb2ea7f16a (patch) | |
tree | d486dea10a365344f3e671e0dd92814596c4dd26 /include/linux/mailbox | |
parent | 4f0b776ef5831700fe47567f6d986be410d7b9e4 (diff) | |
download | linux-b3c0d72b092e52ae7369b52fb97f63eb2ea7f16a.tar.xz |
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>
Diffstat (limited to 'include/linux/mailbox')
-rw-r--r-- | include/linux/mailbox/mtk-cmdq-mailbox.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/mailbox/mtk-cmdq-mailbox.h b/include/linux/mailbox/mtk-cmdq-mailbox.h index d5a983d65f05..2f7d9a37d611 100644 --- a/include/linux/mailbox/mtk-cmdq-mailbox.h +++ b/include/linux/mailbox/mtk-cmdq-mailbox.h @@ -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; }; |