From: Rickard Strandqvist Date: Sat, 3 Jan 2015 17:01:49 +0000 (+0100) Subject: blackfin: mach-common: ints-priority: remove unused function X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=74f24257eec528495ac1761512954a3348febd82;p=linux-beck.git blackfin: mach-common: ints-priority: remove unused function Remove the function bfin_sec_resume() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist Signed-off-by: Jiri Kosina --- diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index dd2af74aff80..7236bdfc71e6 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c @@ -429,14 +429,6 @@ static void init_software_driven_irq(void) bfin_sec_enable_ssi(37); } -void bfin_sec_resume(void) -{ - bfin_write_SEC_SCI(0, SEC_CCTL, SEC_CCTL_RESET); - udelay(100); - bfin_write_SEC_GCTL(SEC_GCTL_EN); - bfin_write_SEC_SCI(0, SEC_CCTL, SEC_CCTL_EN | SEC_CCTL_NMI_EN); -} - void handle_sec_sfi_fault(uint32_t gstat) {