From: Andrew Morton The compiler will do that. And if it doesn't, we don't want to either ;) Cc: Rafael J. Wysocki Cc: Pavel Machek Cc: Greg KH Cc: Nigel Cunningham Cc: Patrick Mochel Signed-off-by: Andrew Morton --- kernel/power/user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN kernel/power/user.c~swsusp-change-code-ordering-in-userc-sanity kernel/power/user.c --- a/kernel/power/user.c~swsusp-change-code-ordering-in-userc-sanity +++ a/kernel/power/user.c @@ -122,7 +122,7 @@ static ssize_t snapshot_write(struct fil return res; } -static inline int snapshot_suspend(void) +static int snapshot_suspend(void) { int error; @@ -151,7 +151,7 @@ static inline int snapshot_suspend(void) return error; } -static inline int snapshot_restore(void) +static int snapshot_restore(void) { int error; _