diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-01-03 12:01:49 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-01-20 08:07:04 -0500 |
commit | 74f24257eec528495ac1761512954a3348febd82 (patch) | |
tree | c07d2e39f3829816e46cd33a22203728c5e39f6a /arch/blackfin | |
parent | 7aa4d5c8ffed00ff751f1d8d492ae89d7f3f9736 (diff) |
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 <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-common/ints-priority.c | 8 |
1 files changed, 0 insertions, 8 deletions
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) | |||
429 | bfin_sec_enable_ssi(37); | 429 | bfin_sec_enable_ssi(37); |
430 | } | 430 | } |
431 | 431 | ||
432 | void bfin_sec_resume(void) | ||
433 | { | ||
434 | bfin_write_SEC_SCI(0, SEC_CCTL, SEC_CCTL_RESET); | ||
435 | udelay(100); | ||
436 | bfin_write_SEC_GCTL(SEC_GCTL_EN); | ||
437 | bfin_write_SEC_SCI(0, SEC_CCTL, SEC_CCTL_EN | SEC_CCTL_NMI_EN); | ||
438 | } | ||
439 | |||
440 | void handle_sec_sfi_fault(uint32_t gstat) | 432 | void handle_sec_sfi_fault(uint32_t gstat) |
441 | { | 433 | { |
442 | 434 | ||