[PATCH] swsusp-change-code-ordering-in-userc-sanity
authorAndrew Morton <akpm@osdl.org>
Sat, 10 Feb 2007 09:43:34 +0000 (01:43 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:19 +0000 (10:51 -0800)
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>
kernel/power/user.c

index 4f217683455ff6a81b42d89d779085a4d30e13dc..b70d83d6b16e89c9882f99938e6cb40e173fb2e5 100644 (file)
@@ -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;