diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2011-09-08 21:16:17 +0300 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2011-09-21 19:45:34 +0300 |
commit | c536abfdf5227987b8a72ff955b64e62fd58fe91 (patch) | |
tree | 7ba44299990776920e0b765916311009a6bf1e1f /include | |
parent | 93b465c2e186d96fb90012ba0f9372eb9952e732 (diff) |
hwspinlock/core: remove stubs for register/unregister
hwspinlock drivers must anyway select CONFIG_HWSPINLOCK,
so there's no point in having register/unregister stubs.
Removing those stubs will only make it easier for developers
to catch CONFIG_HWSPINLOCK mis-.config-urations.
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/hwspinlock.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/hwspinlock.h b/include/linux/hwspinlock.h index f85cef5452f..c246522a955 100644 --- a/include/linux/hwspinlock.h +++ b/include/linux/hwspinlock.h @@ -122,16 +122,6 @@ static inline int hwspin_lock_get_id(struct hwspinlock *hwlock) return 0; } -static inline int hwspin_lock_register(struct hwspinlock *hwlock) -{ - return -ENODEV; -} - -static inline struct hwspinlock *hwspin_lock_unregister(unsigned int id) -{ - return NULL; -} - #endif /* !CONFIG_HWSPINLOCK */ /** |