From b6a2bc4db79faec5b7e61649e88019e4d96ce7f8 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 16 Jul 2008 18:56:50 -0700 Subject: [PATCH] : drop redundant "return" Drop "return" for function returning void. Signed-off-by: H. Peter Anvin --- com32/include/sys/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com32/include/sys/cpu.h b/com32/include/sys/cpu.h index 7a23d51..fcf6ffc 100644 --- a/com32/include/sys/cpu.h +++ b/com32/include/sys/cpu.h @@ -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) { -- 2.7.4