Skip to content
Snippets Groups Projects
Commit 292ed489 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Remove ignored return type for __arch__swab16 function


This change remove compilation warnings.

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent e2776587
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,9 @@ ...@@ -27,7 +27,9 @@
I think this is a symptom of a bug in mb-gcc. JW 20040303 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 */ /* 32 bit temp to cast result, forcing clearing of high word */
__u32 temp; __u32 temp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment