aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaixu Xia <xiakaixu@huawei.com>2015-01-26 11:22:22 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-04 13:42:55 -0500
commitc4546f246636ccf4cda092bcfcafcb5f5f752ec7 (patch)
tree35e2d6d5559c4d10ab5e53da4e94631b48d68a5c
parent7af8792b4d3ad94774fb40f422fa245ab3755bb4 (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.h3
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);
227extern void coresight_unregister(struct coresight_device *csdev); 227extern void coresight_unregister(struct coresight_device *csdev);
228extern int coresight_enable(struct coresight_device *csdev); 228extern int coresight_enable(struct coresight_device *csdev);
229extern void coresight_disable(struct coresight_device *csdev); 229extern void coresight_disable(struct coresight_device *csdev);
230extern int coresight_is_bit_set(u32 val, int position, int value);
231extern int coresight_timeout(void __iomem *addr, u32 offset, 230extern 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) {}
237static inline int 236static inline int
238coresight_enable(struct coresight_device *csdev) { return -ENOSYS; } 237coresight_enable(struct coresight_device *csdev) { return -ENOSYS; }
239static inline void coresight_disable(struct coresight_device *csdev) {} 238static inline void coresight_disable(struct coresight_device *csdev) {}
240static inline int coresight_is_bit_set(u32 val, int position, int value)
241 { return 0; }
242static inline int coresight_timeout(void __iomem *addr, u32 offset, 239static 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