swsusp: kill unused variable
Subsystems (2)
Hi!
Variable used only for writing is bad idea, please apply,
Pavel
Signed-off-by Pavel Machek <[email protected]>
kernel/power/swsusp.c +0 -2
@@ -786,7 +768,6 @@int suspend_prepare_image (void ) { -unsigned int nr_needed_pages;int error;pr_debug ("swsusp: critical section: \n" );
@@ -799,7 +780,6 @@drain_local_pages ();count_data_pages ();printk ("swsusp: Need to copy %u pages\n" ,nr_copy_pages); - nr_needed_pages = nr_copy_pages +PAGES_FOR_IO ; error =swsusp_alloc ();if (error)
Signature · 2 lines
People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!