diff options
author | Kaixu Xia <xiakaixu@huawei.com> | 2015-01-26 09:22:22 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-04 10:42:55 -0800 |
commit | c4546f246636ccf4cda092bcfcafcb5f5f752ec7 (patch) | |
tree | 35e2d6d5559c4d10ab5e53da4e94631b48d68a5c /include/linux/coresight.h | |
parent | 7af8792b4d3ad94774fb40f422fa245ab3755bb4 (diff) | |
download | talos-op-linux-c4546f246636ccf4cda092bcfcafcb5f5f752ec7.tar.gz talos-op-linux-c4546f246636ccf4cda092bcfcafcb5f5f752ec7.zip |
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>
Diffstat (limited to 'include/linux/coresight.h')
-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); 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 |