Skip to content

Commit

Permalink
coresight: remove the unused macro CORESIGHT_DEBUGFS_ENTRY
Browse files Browse the repository at this point in the history
Debugfs isn't used for coresight configuration, so the macro
CORESIGHT_DEBUGFS_ENTRY is unnecessary, just remove it.

Signed-off-by: Xia Kaixu <xiakaixu@huawei.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Xia Kaixu authored and Greg Kroah-Hartman committed Jan 12, 2015
1 parent b2c0928 commit f379984
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions include/linux/coresight.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,6 @@ struct coresight_device {
#define sink_ops(csdev) csdev->ops->sink_ops
#define link_ops(csdev) csdev->ops->link_ops

#define CORESIGHT_DEBUGFS_ENTRY(__name, __entry_name, \
__mode, __get, __set, __fmt) \
DEFINE_SIMPLE_ATTRIBUTE(__name ## _ops, __get, __set, __fmt); \
static const struct coresight_ops_entry __name ## _entry = { \
.name = __entry_name, \
.mode = __mode, \
.ops = &__name ## _ops \
}

/**
* struct coresight_ops_sink - basic operations for a sink
* Operations available for sinks
Expand Down

0 comments on commit f379984

Please sign in to comment.