Prechádzať zdrojové kódy

microblaze: Remove ignored return type for __arch__swab16 function

This change remove compilation warnings.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek 16 rokov pred
rodič
commit
292ed489db
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 3 1
      include/asm-microblaze/byteorder.h

+ 3 - 1
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;