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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to