Skip to content

Commit

Permalink
[PATCH] swsusp-change-code-ordering-in-userc-sanity
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Feb 11, 2007
1 parent 2591305 commit d12c610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/power/user.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit d12c610

Please sign in to comment.