microblaze: Removed unused variables
PATCH 1/2 microblaze: Removed unused variables
Signed-off-by Michal Simek <[email protected]>
--- lib_microblaze/board.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
lib_microblaze/board.c +0 -4
@@ -112,10 +112,6 @@ void board_init (void)#if defined(CONFIG_CMD_FLASH )ulong flash_size =0 ;#endif -#if defined(CONFIG_CMD_NET ) -char *s, *e; -int i; -#endif asm ("nop" );/* FIXME gd is not initialize - wait */ memset ((void *)gd,0 ,CONFIG_SYS_GBL_DATA_SIZE ); gd->bd = (bd_t *) (gd +1 );/* At end of global data */
Signature · 1 line
1.5.5.1
PATCH 2/2 microblaze: Remove ignored return type for __arch__swab16 function
This change remove compilation warnings.
Signed-off-by Michal Simek <[email protected]>
--- include/asm-microblaze/byteorder.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
include/asm-microblaze/byteorder.h +3 -1
@@ -27,7 +27,9 @@I think this is a symptom of a bug in mb-gcc. JW 20040303 */ -static __inline__ __const__ __u16 ___arch__swab16 (__u16 half_word) + + +static __inline____u16 ___arch__swab16 (__u16 half_word) {/* 32 bit temp to cast result, forcing clearing of high word */ __u32 temp;
Signature · 1 line
1.5.5.1