Messages in this thread Patch in this message | | | From | "Rafael J. Wysocki" <> | Subject | [PATCH 1/4] swsusp: get rid of unnecessary wrapper function | Date | Mon, 17 Oct 2005 23:40:19 +0200 |
| |
The following patch merges two functions in a trivial way.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Index: linux-2.6.14-rc4-mm1/kernel/power/snapshot.c =================================================================== --- linux-2.6.14-rc4-mm1.orig/kernel/power/snapshot.c 2005-10-17 23:28:36.000000000 +0200 +++ linux-2.6.14-rc4-mm1/kernel/power/snapshot.c 2005-10-17 23:28:40.000000000 +0200 @@ -384,7 +384,7 @@ return 0; } -static int suspend_prepare_image(void) +asmlinkage int swsusp_save(void) { int error; @@ -433,9 +433,3 @@ printk("swsusp: critical section/: done (%d pages copied)\n", nr_copy_pages ); return 0; } - - -asmlinkage int swsusp_save(void) -{ - return suspend_prepare_image(); -} - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |