Skip to content

Commit

Permalink
soc: mediatek: cmdq: delete not used define
Browse files Browse the repository at this point in the history
Define CMDQ_EOC_CMD was actually never used. Delete it.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Reviewed-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
  • Loading branch information
Matthias Brugger authored and Matthias Brugger committed Jan 10, 2020
1 parent e42617b commit 949601a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/soc/mediatek/mtk-cmdq-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#define CMDQ_ARG_A_WRITE_MASK 0xffff
#define CMDQ_WRITE_ENABLE_MASK BIT(0)
#define CMDQ_EOC_IRQ_EN BIT(0)
#define CMDQ_EOC_CMD ((u64)((CMDQ_CODE_EOC << CMDQ_OP_CODE_SHIFT)) \
<< 32 | CMDQ_EOC_IRQ_EN)

static void cmdq_client_timeout(struct timer_list *t)
{
Expand Down

0 comments on commit 949601a

Please sign in to comment.