From a72e4f242d8e2a9eee42b5d6898ddad35250d653 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Tue, 8 Jan 2019 14:04:08 +0100 Subject: [PATCH] rcar_gen3: plat: Drop ddr_regdef_len() This function is unused and triggers clang error, drop it. Signed-off-by: Marek Vasut --- drivers/staging/renesas/rcar/ddr/ddr_b/boot_init_dram.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/renesas/rcar/ddr/ddr_b/boot_init_dram.c b/drivers/staging/renesas/rcar/ddr/ddr_b/boot_init_dram.c index 841eeb47..ef6139ca 100644 --- a/drivers/staging/renesas/rcar/ddr/ddr_b/boot_init_dram.c +++ b/drivers/staging/renesas/rcar/ddr/ddr_b/boot_init_dram.c @@ -647,11 +647,6 @@ static inline uint32_t ddr_regdef_lsb(uint32_t _regdef) return DDR_REGDEF_LSB(pDDR_REGDEF_TBL[_regdef]); } -static inline uint32_t ddr_regdef_len(uint32_t _regdef) -{ - return DDR_REGDEF_LEN(pDDR_REGDEF_TBL[_regdef]); -} - static void ddr_setval_s(uint32_t ch, uint32_t slice, uint32_t _regdef, uint32_t val) { -- 2.30.2