From: Rafael J. Wysocki Date: Thu, 19 Jul 2007 08:47:29 +0000 (-0700) Subject: swsusp: remove code duplication between disk.c and user.c X-Git-Tag: v2.6.23-rc1~463 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7777fab989b5d006903188c966058ebcd2d6342a;p=pandora-kernel.git swsusp: remove code duplication between disk.c and user.c Currently, much of the code in kernel/power/disk.c is duplicated in kernel/power/user.c , mainly for historical reasons. By eliminating this code duplication we can reduce the size of user.c quite substantially and remove the maintenance difficulty resulting from it. [bunk@stusta.de: kernel/power/disk.c: make code static] Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Cc: Nigel Cunningham Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed