[PATCH] swsusp-change-code-ordering-in-userc-sanity
The compiler will do that. And if it doesn't, we don't want to either ;)
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Greg KH <greg@kroah.com>
Cc: Nigel Cunningham <nigel@suspend2.net>
Cc: Patrick Mochel <mochel@digitalimplant.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
diff --git a/kernel/power/user.c b/kernel/power/user.c
index 4f217683..b70d83d 100644
--- a/kernel/power/user.c
+++ b/kernel/power/user.c
@@ -122,7 +122,7 @@
return res;
}
-static inline int snapshot_suspend(void)
+static int snapshot_suspend(void)
{
int error;
@@ -151,7 +151,7 @@
return error;
}
-static inline int snapshot_restore(void)
+static int snapshot_restore(void)
{
int error;