1
linux/arch/frv/kernel
Geert Uytterhoeven 87be8932ae frv: kill used but uninitialized variable
Commit 6afe1a1fe8 ("PM: Remove legacy PM") removed the initialization
of retval, causing:

  arch/frv/kernel/pm.c: In function 'sysctl_pm_do_suspend':
  arch/frv/kernel/pm.c:165:5: warning: 'retval' may be used uninitialized in this function [-Wuninitialized]

Remove the variable completely to fix this, and convert to a proper
switch (...) { ... } construct to improve readability.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-10-06 03:04:46 +09:00
..
asm-offsets.c
break.S
cmode.S
debug-stub.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
dma.c
entry-table.S Fix common misspellings 2011-03-31 11:26:23 -03:00
entry.S FRV: Optimise the system call exit path in entry.S [ver #2] 2012-06-01 12:59:38 -04:00
frv_ksyms.c
futex.c futex: Sanitize futex ops argument types 2011-03-11 12:23:31 +01:00
gdb-io.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
gdb-io.h
gdb-stub.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
head-mmu-fr451.S
head-uc-fr401.S
head-uc-fr451.S
head-uc-fr555.S
head.inc
head.S
irq-mb93091.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
irq-mb93093.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
irq-mb93493.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
irq.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
kernel_execve.S
kernel_thread.S arch: remove direct definitions of KERN_<LEVEL> uses 2012-07-30 17:25:13 -07:00
local64.h arch: Implement local64_t 2010-06-09 11:12:36 +02:00
local.h
Makefile frv: Use generic init_task 2012-05-05 13:00:23 +02:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
pm-mb93093.c
pm.c frv: kill used but uninitialized variable 2012-10-06 03:04:46 +09:00
process.c frv: Add missing RCU idle APIs on idle loop 2012-09-23 07:44:45 -07:00
ptrace.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
setup.c sections: fix section conflicts in arch/frv 2012-10-06 03:04:38 +09:00
signal.c frv: Remove bogus closing parenthesis 2012-06-02 10:38:19 -04:00
sleep.S
switch_to.S
sys_frv.c
sysctl.c frv: remove "struct file *" argument from sysctl ->proc_handler 2010-05-27 09:12:56 -07:00
time.c frv: Switch do_timer() to xtime_update() 2011-01-31 14:55:45 +01:00
traps.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
uaccess.c
vmlinux.lds.S percpu: Always align percpu output section to PAGE_SIZE 2011-03-24 18:50:09 +01:00