]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/cfb_console.c
mtd: nand: mxs_nand: add minimal ECC support
[u-boot] / drivers / video / cfb_console.c
index 0b2589706201ccfd525437e24967f5a612b07e5f..40110668a6b41050cb33690b53aeddc5b1b4a706 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2002 ELTEC Elektronik AG
  * Frank Gottschling <fgottschling@eltec.de>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
@@ -768,7 +767,7 @@ static void parse_putc(const char c)
                break;
 
        case '\n':              /* next line */
-               if (console_col || (!console_col && nl))
+               if (console_col || nl)
                        console_newline(1);
                nl = 1;
                break;