[PATCH] pritk.c oneliner

From: Pavel Rabel (pavel@web.sajt.cz)
Date: Mon Jan 08 2001 - 14:14:47 EST


error is initialised twice

Pavel Rabel

--- kernel/printk.c.old Mon Jan 8 19:16:12 2001
+++ kernel/printk.c Mon Jan 8 19:17:54 2001
@@ -125,9 +125,8 @@
         unsigned long i, j, limit, count;
         int do_clear = 0;
         char c;
- int error = -EPERM;
+ int error = 0;
 
- error = 0;
         switch (type) {
         case 0: /* Close log */
                 break;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:18 EST