diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-11-03 14:45:48 +0800 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2011-11-08 09:28:27 +0200 |
commit | 816af3bb5022c1468b3d826c645ddc2cac45bc97 (patch) | |
tree | 1b2a6abc75c00366f71c820ae946f4bdce4d90d9 | |
parent | 1ea6b8f48918282bdca0b32a34095504ee65bab5 (diff) |
hwspinlock: Don't return a value in __hwspin_unlock
Fix below build warning:
CC arch/arm/mach-omap2/hwspinlock.o
In file included from arch/arm/mach-omap2/hwspinlock.c:22:
include/linux/hwspinlock.h: In function '__hwspin_unlock':
include/linux/hwspinlock.h:121: warning: 'return' with a value, in function returning void
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
-rw-r--r-- | include/linux/hwspinlock.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/hwspinlock.h b/include/linux/hwspinlock.h index 08a2fee40659..aad6bd4b3efd 100644 --- a/include/linux/hwspinlock.h +++ b/include/linux/hwspinlock.h @@ -118,7 +118,6 @@ int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) static inline void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) { - return 0; } static inline int hwspin_lock_get_id(struct hwspinlock *hwlock) |