* [PATCH]: minor code cleanup
@ 2002-12-19 11:03 Juan Quintela
0 siblings, 0 replies; only message in thread
From: Juan Quintela @ 2002-12-19 11:03 UTC (permalink / raw)
To: Ralf Baechle, linux mips mailing list
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
diff -u -r1.1.4.5 arc_con.c
--- arch/mips/arc/arc_con.c 7 Nov 2002 01:47:45 -0000 1.1.4.5
+++ arch/mips/arc/arc_con.c 19 Dec 2002 10:17:47 -0000
@@ -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 = {
--
In theory, practice and theory are the same, but in practice they
are different -- Larry McVoy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-19 10:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-19 11:03 [PATCH]: minor code cleanup Juan Quintela
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox