diff options
author | Kaixu Xia <xiakaixu@huawei.com> | 2015-01-26 11:22:22 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-04 13:42:55 -0500 |
commit | c4546f246636ccf4cda092bcfcafcb5f5f752ec7 (patch) | |
tree | 35e2d6d5559c4d10ab5e53da4e94631b48d68a5c | |
parent | 7af8792b4d3ad94774fb40f422fa245ab3755bb4 (diff) |
coresight: remove the unnecessary function coresight_is_bit_set()
This function coresight_is_bit_set() isn't called, so we should
remove it.
Signed-off-by: Kaixu Xia <xiakaixu@huawei.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/linux/coresight.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/coresight.h b/include/linux/coresight.h index cd6d4c384ca3..3486b9082adb 100644 --- a/include/linux/coresight.h +++ b/include/linux/coresight.h | |||
@@ -227,7 +227,6 @@ coresight_register(struct coresight_desc *desc); | |||
227 | extern void coresight_unregister(struct coresight_device *csdev); | 227 | extern void coresight_unregister(struct coresight_device *csdev); |
228 | extern int coresight_enable(struct coresight_device *csdev); | 228 | extern int coresight_enable(struct coresight_device *csdev); |
229 | extern void coresight_disable(struct coresight_device *csdev); | 229 | extern void coresight_disable(struct coresight_device *csdev); |
230 | extern int coresight_is_bit_set(u32 val, int position, int value); | ||
231 | extern int coresight_timeout(void __iomem *addr, u32 offset, | 230 | extern int coresight_timeout(void __iomem *addr, u32 offset, |
232 | int position, int value); | 231 | int position, int value); |
233 | #else | 232 | #else |
@@ -237,8 +236,6 @@ static inline void coresight_unregister(struct coresight_device *csdev) {} | |||
237 | static inline int | 236 | static inline int |
238 | coresight_enable(struct coresight_device *csdev) { return -ENOSYS; } | 237 | coresight_enable(struct coresight_device *csdev) { return -ENOSYS; } |
239 | static inline void coresight_disable(struct coresight_device *csdev) {} | 238 | static inline void coresight_disable(struct coresight_device *csdev) {} |
240 | static inline int coresight_is_bit_set(u32 val, int position, int value) | ||
241 | { return 0; } | ||
242 | static inline int coresight_timeout(void __iomem *addr, u32 offset, | 239 | static inline int coresight_timeout(void __iomem *addr, u32 offset, |
243 | int position, int value) { return 1; } | 240 | int position, int value) { return 1; } |
244 | #endif | 241 | #endif |