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>
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)
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