linux-mips
[Top] [All Lists]

Get rid of a warning

To: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Get rid of a warning
From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
Date: Sat, 23 Jul 2005 14:49:03 -0700
Organization: Total Knowledge
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050723)
void functions shouldn't return values ;-)

--
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com


Index: arch/mips/au1000/pb1000/init.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/au1000/pb1000/init.c,v
retrieving revision 1.10
diff -u -r1.10 init.c
--- arch/mips/au1000/pb1000/init.c      18 Nov 2003 01:17:46 -0000      1.10
+++ arch/mips/au1000/pb1000/init.c      23 Jul 2005 15:38:21 -0000
@@ -65,5 +65,4 @@
               memsize = simple_strtol(memsize_str, NULL, 0);
       }
       add_memory_region(0, memsize, BOOT_MEM_RAM);
-       return 0;
}



<Prev in Thread] Current Thread [Next in Thread>