projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de49186
)
[PATCH] swsusp: get rid of unnecessary wrapper function
author
Rafael J. Wysocki
<
[email protected]
>
Sun, 30 Oct 2005 23:00:00 +0000
(15:00 -0800)
committer
Linus Torvalds
<
[email protected]
>
Mon, 31 Oct 2005 01:37:15 +0000
(17:37 -0800)
The following patch merges two functions in a trivial way.
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
Acked-by: Pavel Machek <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/power/snapshot.c
patch
|
blob
|
history
diff --git
a/kernel/power/snapshot.c
b/kernel/power/snapshot.c
index 72787f925630b9e71150a43aa899ff469b6593b5..42a6287043983e93a67d54d5168c56df62a2e51c 100644
(file)
--- a/
kernel/power/snapshot.c
+++ b/
kernel/power/snapshot.c
@@
-378,7
+378,7
@@
static struct pbe *swsusp_alloc(unsigned nr_pages)
return pblist;
}
-
static int suspend_prepare_imag
e(void)
+
asmlinkage int swsusp_sav
e(void)
{
unsigned nr_pages;
@@
-433,9
+433,3
@@
static int suspend_prepare_image(void)
printk("swsusp: critical section/: done (%d pages copied)\n", nr_pages);
return 0;
}
-
-
-asmlinkage int swsusp_save(void)
-{
- return suspend_prepare_image();
-}