linux/arch/sh/kernel
Eric Dumazet 0d3ae94874 sh: Remove unused variable
Removes this annoying warning:

arch/sh/kernel/traps.c: In function ‘nmi_trap_handler’:
arch/sh/kernel/traps.c:183:15: warning: unused variable ‘cpu’ [-Wunused-variable]
  183 |  unsigned int cpu = smp_processor_id();

Fixes: fe3f1d5d7c ("sh: Get rid of nmi_count()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20210414170517.1205430-1-eric.dumazet@gmail.com
2021-05-10 23:23:04 +02:00
..
cpu arch: sh: remove duplicate include 2021-01-06 19:55:27 -05:00
syscalls Kbuild updates for v5.13 (2nd) 2021-05-08 10:00:11 -07:00
vsyscall
.gitignore
asm-offsets.c
crash_dump.c
debugtraps.S
disassemble.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dma-coherent.c dma-mapping: merge <linux/dma-noncoherent.h> into <linux/dma-map-ops.h> 2020-10-06 07:07:06 +02:00
dumpstack.c
dwarf.c
entry-common.S sh: fix syscall tracing 2020-09-13 21:22:55 -04:00
ftrace.c tracing: Fix various typos in comments 2021-03-23 14:08:18 -04:00
head_32.S
hw_breakpoint.c
idle.c sched/idle: Fix arch_cpu_idle() vs tracing 2020-11-24 16:47:35 +01:00
io_trapped.c sh: unexport register_trapped_io and match_trapped_io_handler 2020-08-14 22:05:16 -04:00
io.c
iomap.c iomap: constify ioreadX() iomem argument (as in generic implementation) 2020-08-14 19:56:57 -07:00
ioport.c sh: don't include <asm/io_trapped.h> in <asm/io.h> 2020-08-14 22:05:16 -04:00
irq_32.c
irq.c softirq: Move do_softirq_own_stack() to generic asm header 2021-02-10 23:34:16 +01:00
kdebugfs.c
kgdb.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
kprobes.c sh: kprobes: Use generic kretprobe trampoline handler 2020-09-08 11:52:34 +02:00
machine_kexec.c
machvec.c Cleanup, SECCOMP_FILTER support, message printing fixes, and other 2020-08-15 18:50:32 -07:00
Makefile sh: remove -Werror from Makefiles 2020-08-14 22:05:13 -04:00
module.c
nmi_debug.c
perf_callchain.c
perf_event.c sh: Get rid of oprofile leftovers 2021-04-22 13:32:39 +01:00
process_32.c arch: setup PF_IO_WORKER threads like PF_KTHREAD 2021-02-21 17:25:22 -07:00
process.c
ptrace_32.c sh: fix syscall tracing 2020-09-13 21:22:55 -04:00
ptrace.c
reboot.c
relocate_kernel.S
return_address.c
setup.c
sh_bios.c
sh_ksyms_32.c
signal_32.c sh: add support for TIF_NOTIFY_SIGNAL 2020-11-09 08:16:55 -07:00
smp.c
stacktrace.c
swsusp.c
sys_sh32.c
sys_sh.c
syscalls_32.S
time.c
topology.c
traps_32.c
traps.c sh: Remove unused variable 2021-05-10 23:23:04 +02:00
unwinder.c
vmlinux.lds.S vmlinux.lds.h: Split ELF_DETAILS from STABS_DEBUG 2020-09-01 09:50:35 +02:00