alistair23-linux/arch/frv
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
..
boot
include UAPI: (Scripted) Set up UAPI Kbuild files 2012-10-02 18:01:35 +01:00
kernel frv: kill used but uninitialized variable 2012-10-06 03:04:46 +09:00
lib
mb93090-mb00 sections: fix section conflicts in arch/frv 2012-10-06 03:04:38 +09:00
mm frv: remove the second parameter of kmap_atomic_primary() 2012-07-23 14:11:22 +08:00
defconfig
Kconfig ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSION 2012-07-30 17:25:21 -07:00
Kconfig.debug
Makefile frv: Use generic init_task 2012-05-05 13:00:23 +02:00