From c7ac96761c46b15fff3a46f7c79c98be8f4c49a6 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 11 Apr 2019 22:26:58 +0200 Subject: [PATCH] bios/sdram: add __attribute__((unused)) on cdelay --- litex/soc/software/bios/sdram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 409a7b81..ebd53130 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -17,7 +17,7 @@ #define MAIN_RAM_BASE SRAM_BASE #endif -static void cdelay(int i) +__attribute__((unused)) static void cdelay(int i) { while(i > 0) { #if defined (__lm32__) -- 2.30.2