summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8195/include/soc/dptx_hal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8195/include/soc/dptx_hal.h')
-rw-r--r--src/soc/mediatek/mt8195/include/soc/dptx_hal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/mediatek/mt8195/include/soc/dptx_hal.h b/src/soc/mediatek/mt8195/include/soc/dptx_hal.h
index b943c27cfaff..dcb171705b4b 100644
--- a/src/soc/mediatek/mt8195/include/soc/dptx_hal.h
+++ b/src/soc/mediatek/mt8195/include/soc/dptx_hal.h
@@ -15,8 +15,6 @@
#define DP_AUX_NATIVE_WRITE 0x8
#define DP_AUX_NATIVE_READ 0x9
-#define MASKBIT(a, b) ((a > b) ? (BIT(a + 1) - BIT(b)) : (BIT(b + 1) - BIT(a)))
-
#define DP_WRITE1BYTE(mtk_dp, reg, u8_val) \
mtk_dp_write_byte(mtk_dp, reg, u8_val, 0xff)
#define DP_WRITE2BYTE(mtk_dp, reg, u16_val) \