[U-Boot-Users] [PATCH] : Remove unused code from uboot-1.3.3/lib_arm/bootm.c

Gururaja Hebbar K R gururajakr at sanyo.co.in
Tue Jul 15 10:31:06 CEST 2008


Hi,

This patch removes an unused part of the code. 

This code is only used in lib_avr32/bootm.c and in lib_arm/bootm.c it is
under #if 0

Comments are welcome.
 
Regards
Gururaja
 
Signed off by: Gururaja Hebbar <gururajakr at sanyo.co.in>

--- bootm_orig.c	2008-07-15 16:51:03.296875000 -0700
+++ bootm.c	2008-07-15 16:51:38.250000000 -0700
@@ -43,9 +43,6 @@ static void setup_memory_tags (bd_t *bd)
 # endif
 static void setup_commandline_tag (bd_t *bd, char *commandline);
 
-#if 0
-static void setup_ramdisk_tag (bd_t *bd);
-#endif
 # ifdef CONFIG_INITRD_TAG
 static void setup_initrd_tag (bd_t *bd, ulong initrd_start,
 			      ulong initrd_end);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_disabled_code.patch
Type: application/octet-stream
Size: 412 bytes
Desc: remove_disabled_code.patch
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080715/a82f3359/attachment.obj 


More information about the U-Boot mailing list