Skip to content

Commit

Permalink
[PATCH] bogus function type in qdio
Browse files Browse the repository at this point in the history
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: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Aug 26, 2005
1 parent b6a9ad7 commit a46206e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/cio/qdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ qdio_min(int a,int b)

/***************** SCRUBBER HELPER ROUTINES **********************/

static inline volatile __u64
static inline __u64
qdio_get_micros(void)
{
return (get_clock() >> 10); /* time>>12 is microseconds */
Expand Down

0 comments on commit a46206e

Please sign in to comment.