From: Andrew Morton Date: Sat, 10 Feb 2007 09:43:34 +0000 (-0800) Subject: [PATCH] swsusp-change-code-ordering-in-userc-sanity X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d12c610e08022a1b84d6bd4412c189214d32e713;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [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 Cc: Pavel Machek Cc: Greg KH Cc: Nigel Cunningham Cc: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/power/user.c b/kernel/power/user.c index 4f217683455f..b70d83d6b16e 100644 --- a/kernel/power/user.c +++ b/kernel/power/user.c @@ -122,7 +122,7 @@ static ssize_t snapshot_write(struct file *filp, const char __user *buf, 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;