summaryrefslogtreecommitdiff
path: root/include/asm-x86
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-07-18 01:22:34 +0400
committerIngo Molnar <mingo@elte.hu>2008-07-18 15:42:01 +0400
commit32172561889868c0ea422ea8570f0413963a815f (patch)
treea46ffe727f5ccbb2584355113865b1bbb12e3761 /include/asm-x86
parent2fb5e1e101d1b1c9a1aeca7ad99a02b49241ba7b (diff)
downloadlinux-32172561889868c0ea422ea8570f0413963a815f.tar.xz
x86: suppress sparse returning void warnings
include/asm/paravirt.h:1404:2: warning: returning void-valued expression include/asm/paravirt.h:1414:2: warning: returning void-valued expression Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/paravirt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h
index b2aba8fdaae7..27c9f22ba095 100644
--- a/include/asm-x86/paravirt.h
+++ b/include/asm-x86/paravirt.h
@@ -1401,7 +1401,7 @@ static inline int __raw_spin_is_contended(struct raw_spinlock *lock)
static __always_inline void __raw_spin_lock(struct raw_spinlock *lock)
{
- return PVOP_VCALL1(pv_lock_ops.spin_lock, lock);
+ PVOP_VCALL1(pv_lock_ops.spin_lock, lock);
}
static __always_inline int __raw_spin_trylock(struct raw_spinlock *lock)
@@ -1411,7 +1411,7 @@ static __always_inline int __raw_spin_trylock(struct raw_spinlock *lock)
static __always_inline void __raw_spin_unlock(struct raw_spinlock *lock)
{
- return PVOP_VCALL1(pv_lock_ops.spin_unlock, lock);
+ PVOP_VCALL1(pv_lock_ops.spin_unlock, lock);
}
#endif