lkml.org 
[lkml]   [2015]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [Adi-buildroot-devel] [PATCH] arch: blackfin: kernel: kgdb: Remove unused function
Date
Acked-by: Sonic Zhang <sonic.zhang@analog.com>

Sonic

>-----Original Message-----
>From: Rickard Strandqvist [mailto:rickard_strandqvist@spectrumdigital.se]
>Sent: Friday, January 02, 2015 1:54 AM
>To: Steven Miao; adi-buildroot-devel@lists.sourceforge.net
>Cc: linux-kernel@vger.kernel.org; Rickard Strandqvist
>Subject: [Adi-buildroot-devel] [PATCH] arch: blackfin: kernel: kgdb: Remove unused function
>
>Remove the function kgdb_post_primary_code() 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>
>---
> arch/blackfin/kernel/kgdb.c | 13 -------------
> 1 file changed, 13 deletions(-)
>
>diff --git a/arch/blackfin/kernel/kgdb.c b/arch/blackfin/kernel/kgdb.c index fa53fae..b1cc04f 100644
>--- a/arch/blackfin/kernel/kgdb.c
>+++ b/arch/blackfin/kernel/kgdb.c
>@@ -359,19 +359,6 @@ void kgdb_roundup_cpu(int cpu, unsigned long flags) static unsigned long kgdb_arch_imask; #endif
>
>-void kgdb_post_primary_code(struct pt_regs *regs, int e_vector, int err_code) -{
>- if (kgdb_single_step)
>- preempt_enable();
>-
>-#ifdef CONFIG_IPIPE
>- if (kgdb_arch_imask) {
>- cpu_pda[raw_smp_processor_id()].ex_imask = kgdb_arch_imask;
>- kgdb_arch_imask = 0;
>- }
>-#endif
>-}
>-
> int kgdb_arch_handle_exception(int vector, int signo,
> int err_code, char *remcom_in_buffer,
> char *remcom_out_buffer,
>--
>1.7.10.4
>
>
>------------------------------------------------------------------------------
>Dive into the World of Parallel Programming! The Go Parallel Website,
>sponsored by Intel and developed in partnership with Slashdot Media, is your
>hub for all things parallel software development, from weekly thought
>leadership blogs to news, videos, case studies, tutorials and more. Take a
>look and join the conversation now. http://goparallel.sourceforge.net
>_______________________________________________
>Adi-buildroot-devel mailing list
>Adi-buildroot-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/adi-buildroot-devel



\
 
 \ /
  Last update: 2015-01-05 04:21    [W:0.040 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site