blackfin: mach-common: ints-priority: remove unused function
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sat, 3 Jan 2015 17:01:49 +0000 (18:01 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 20 Jan 2015 13:07:04 +0000 (14:07 +0100)
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 <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/blackfin/mach-common/ints-priority.c

index dd2af74aff804afb69cdacecf67e3d4f35b02690..7236bdfc71e6ae330efa1efb29ffbb8b79c3cf47 100644 (file)
@@ -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)
 {