: minor code cleanup
PATCH 1/1 : minor code cleanup
Hi
once reading arc_con, found this.
Index: arch/mips/arc/arc_con.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/arc/arc_con.c,v retrieving revision 1.1.4.5
mips/arc/arc_con.c +1 -4
@@ -32,10 +32,7 @@static int __init prom_console_setup (struct console *co,char *options) { -if (prom_flags &PROM_FLAG_USE_AS_CONSOLE ) -return 0 ; -else -return 1 ; +return !(prom_flags &PROM_FLAG_USE_AS_CONSOLE ); }static struct console arc_cons = {
Signature · 2 lines
In theory, practice and theory are the same, but in practice they are different -- Larry McVoy