* [PATCH] bogus function type in qdio
@ 2005-08-25 22:03 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2005-08-25 22:03 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
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>
----
diff -urN RC13-rc7-emac-iounmap/drivers/s390/cio/qdio.c RC13-rc7-attr-misc/drivers/s390/cio/qdio.c
--- RC13-rc7-emac-iounmap/drivers/s390/cio/qdio.c 2005-08-24 01:58:29.000000000 -0400
+++ RC13-rc7-attr-misc/drivers/s390/cio/qdio.c 2005-08-25 00:54:22.000000000 -0400
@@ -112,7 +112,7 @@
/***************** SCRUBBER HELPER ROUTINES **********************/
-static inline volatile __u64
+static inline __u64
qdio_get_micros(void)
{
return (get_clock() >> 10); /* time>>12 is microseconds */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-08-25 22:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-25 22:03 [PATCH] bogus function type in qdio Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®