]> Git Repo - linux.git/commit - kernel/power/hibernate.c
swsusp: remove code duplication between disk.c and user.c
authorRafael J. Wysocki <[email protected]>
Thu, 19 Jul 2007 08:47:29 +0000 (01:47 -0700)
committerLinus Torvalds <[email protected]>
Thu, 19 Jul 2007 17:04:42 +0000 (10:04 -0700)
commit7777fab989b5d006903188c966058ebcd2d6342a
treecff336bf6bd4dd2f665709dbf07f4224ab9f2fbd
parent127067a9c994dff16b280f409cc7b18a54a63719
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.

[[email protected]: kernel/power/disk.c: make code static]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Cc: Nigel Cunningham <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/power/disk.c
kernel/power/power.h
kernel/power/user.c
This page took 0.05104 seconds and 4 git commands to generate.