aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKaixu Xia <xiakaixu@huawei.com>2015-01-26 09:22:22 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2015-03-02 11:27:23 -0700
commit6116798e1e1fcdccfd20297654d8ed9fa2b72b5c (patch)
treeda9c85078d9cd08c88d250a34d5cdb253c24050b /include
parentb93c1916a66946b104f379f106084bc0711ca027 (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> (cherry picked from commit c4546f246636ccf4cda092bcfcafcb5f5f752ec7) Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'include')
-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 41bdccf1b4dd..44c1597a738a 100644
--- a/include/linux/coresight.h
+++ b/include/linux/coresight.h
@@ -227,7 +227,6 @@ coresight_register(struct coresight_desc *desc);
extern void coresight_unregister(struct coresight_device *csdev);
extern int coresight_enable(struct coresight_device *csdev);
extern void coresight_disable(struct coresight_device *csdev);
-extern int coresight_is_bit_set(u32 val, int position, int value);
extern int coresight_timeout(void __iomem *addr, u32 offset,
int position, int value);
#else
@@ -237,8 +236,6 @@ static inline void coresight_unregister(struct coresight_device *csdev) {}
static inline int
coresight_enable(struct coresight_device *csdev) { return -ENOSYS; }
static inline void coresight_disable(struct coresight_device *csdev) {}
-static inline int coresight_is_bit_set(u32 val, int position, int value)
- { return 0; }
static inline int coresight_timeout(void __iomem *addr, u32 offset,
int position, int value) { return 1; }
#endif