From: Michal Simek Date: Tue, 30 Jun 2009 10:03:50 +0000 (+0200) Subject: microblaze: Remove ignored return type for __arch__swab16 function X-Git-Tag: v2009.08-rc1~84^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=292ed489dba8cc97b458579003a8001cd4703cd8;p=u-boot microblaze: Remove ignored return type for __arch__swab16 function This change remove compilation warnings. Signed-off-by: Michal Simek --- diff --git a/include/asm-microblaze/byteorder.h b/include/asm-microblaze/byteorder.h index 51cacb048b..a4a75b7a6d 100644 --- a/include/asm-microblaze/byteorder.h +++ b/include/asm-microblaze/byteorder.h @@ -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;