swsusp: kill unused variable

From: Pavel Machek
Date: Sat Dec 25 2004 - 12:41:40 EST


Hi!

Variable used only for writing is bad idea, please apply,
Pavel

Signed-off-by: Pavel Machek <pavel@xxxxxxx>

--- clean-cvs/kernel/power/swsusp.c 2004-12-14 20:43:42.000000000 +0100
+++ linux-cvs/kernel/power/swsusp.c 2004-12-14 20:48:31.000000000 +0100
@@ -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)

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/