From cf772e96905b26d4bf057c09ed267729738634a0 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 24 Apr 2017 14:06:27 +0200 Subject: [PATCH] clk: zynqmp: Remove unused macros/variables These macros and one variable is not used anywhere that's why they should be removed. Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- drivers/clk/clk_zynqmp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/clk/clk_zynqmp.c b/drivers/clk/clk_zynqmp.c index b5469f73ee..bcc62904f1 100644 --- a/drivers/clk/clk_zynqmp.c +++ b/drivers/clk/clk_zynqmp.c @@ -17,7 +17,6 @@ DECLARE_GLOBAL_DATA_PTR; static const resource_size_t zynqmp_crf_apb_clkc_base = 0xfd1a0020; static const resource_size_t zynqmp_crl_apb_clkc_base = 0xff5e0020; -static const resource_size_t zynqmp_iou_clkc_base = 0xff180000; /* Full power domain clocks */ #define CRF_APB_APLL_CTRL (zynqmp_crf_apb_clkc_base + 0x00) @@ -91,9 +90,6 @@ static const resource_size_t zynqmp_iou_clkc_base = 0xff180000; #define CRL_APB_I2C0_REF_CTRL (zynqmp_crl_apb_clkc_base + 0x100) #define CRL_APB_I2C1_REF_CTRL (zynqmp_crl_apb_clkc_base + 0x104) #define CRL_APB_TIMESTAMP_REF_CTRL (zynqmp_crl_apb_clkc_base + 0x108) -#define IOU_SLCR_GEM_CLK_CTRL (zynqmp_iou_clkc_base + 0x308) -#define IOU_SLCR_CAN_MIO_CTRL (zynqmp_iou_clkc_base + 0x304) -#define IOU_SLCR_WDT_CLK_SEL (zynqmp_iou_clkc_base + 0x300) #define ZYNQ_CLK_MAXDIV 0x3f #define CLK_CTRL_DIV1_SHIFT 16 -- 2.39.5