<sys/cpu.h>: drop redundant "return"
authorH. Peter Anvin <hpa@zytor.com>
Thu, 17 Jul 2008 01:56:50 +0000 (18:56 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 17 Jul 2008 01:56:50 +0000 (18:56 -0700)
Drop "return" for function returning void.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/include/sys/cpu.h

index 7a23d51..fcf6ffc 100644 (file)
@@ -29,7 +29,7 @@ static inline void cpuid_count(uint32_t op, uint32_t cnt,
 static inline void cpuid(uint32_t op, uint32_t *eax, uint32_t *ebx,
                         uint32_t *ecx, uint32_t *edx)
 {
-  return cpuid_count(op, 0, eax, ebx, ecx, edx);
+  cpuid_count(op, 0, eax, ebx, ecx, edx);
 }
 static inline __constfunc uint32_t cpuid_eax(uint32_t level)
 {