Trivial cleanups for swsusp
Subsystems (2)
Hi!
This kills unused part of struct and fixes spelling. Please apply,
Pavel
include/linux/suspend.h +0 -3
@@ -32,9 +33,6 @@int page_size;suspend_pagedir_t *suspend_pagedir;unsigned int num_pbes; -struct swap_location { -char filename[SWAP_FILENAME_MAXLENGTH ]; - } swap_location[MAX_SWAPFILES ]; };#define SUSPEND_PD_PAGES (x) (((x)*sizeof(struct pbe))/PAGE_SIZE+1)
kernel/power/swsusp.c +2 -2
@@ -283,8 +287,8 @@* would happen on next reboot -- corrupting data. * * Note: The buffer we allocate to use to write the suspend header is -* not freed; its not needed since system is going down anyway -* (plus it causes oops and I'm lazy^H^H^H^Htoo busy). +* not freed; its not needed since the system is going down anyway +* (plus it causes an oops and I'm lazy^H^H^H^Htoo busy). */ static int write_suspend_image (void ) {
Signature · 2 lines
When do you have a heart between your knees? [Johanka's followup: and *two* hearts?]