Geert Uytterhoeven 87be8932ae frv: kill used but uninitialized variable
Commit 6afe1a1fe8ff ("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
..
2012-03-28 18:30:02 +01:00
2011-03-31 11:26:23 -03:00
2009-07-01 19:38:09 -07:00
2012-03-28 18:30:02 +01:00
2005-04-16 15:20:36 -07:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2010-06-09 11:12:36 +02:00
2012-05-05 13:00:23 +02:00
2012-10-06 03:04:46 +09:00
2012-03-28 18:30:02 +01:00
2012-06-02 10:38:19 -04:00
2010-03-12 15:52:32 -08:00
2012-03-28 18:30:02 +01:00
2009-06-11 09:01:26 -07:00