Commit a46206e7 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] bogus function type in qdio

In qdio_get_micros() volatile in return type is plain noise (even with old
gccisms it would make no sense - noreturn function returning __u64 is a
bit odd ;-)
Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b6a9ad73
...@@ -112,7 +112,7 @@ qdio_min(int a,int b) ...@@ -112,7 +112,7 @@ qdio_min(int a,int b)
/***************** SCRUBBER HELPER ROUTINES **********************/ /***************** SCRUBBER HELPER ROUTINES **********************/
static inline volatile __u64 static inline __u64
qdio_get_micros(void) qdio_get_micros(void)
{ {
return (get_clock() >> 10); /* time>>12 is microseconds */ return (get_clock() >> 10); /* time>>12 is microseconds */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment