Get rid of a warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;
}




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux