projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
553ccf2
)
<sys/cpu.h>: drop redundant "return"
author
H. Peter Anvin
<hpa@zytor.com>
Thu, 17 Jul 2008 01:56:50 +0000
(18:56 -0700)
committer
H. 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
patch
|
blob
|
history
diff --git
a/com32/include/sys/cpu.h
b/com32/include/sys/cpu.h
index
7a23d51
..
fcf6ffc
100644
(file)
--- 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)
{