diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2015-01-26 11:22:24 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-04 13:42:55 -0500 |
commit | 406b9f659fbc966ab47a1fe8f5c1a2e8110483ad (patch) | |
tree | d9abc7094c211e0c6ba6dafd991d7ac9d9aa2654 | |
parent | 34a03c1d30f04ca7439c685c0ea9b7d79c353705 (diff) |
coresight-etm: remove check for unknown Kconfig macro
The CoreSight ETM/PTM driver contains a check for a
CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE macro. But there's no related
Kconfig symbol CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE. Remove that check
and the single line of code it hides.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/coresight/coresight-etm3x.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/coresight/coresight-etm3x.c b/drivers/coresight/coresight-etm3x.c index 73c36696f1b6..c965f5724abd 100644 --- a/drivers/coresight/coresight-etm3x.c +++ b/drivers/coresight/coresight-etm3x.c | |||
@@ -34,14 +34,8 @@ | |||
34 | 34 | ||
35 | #include "coresight-etm.h" | 35 | #include "coresight-etm.h" |
36 | 36 | ||
37 | #ifdef CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE | ||
38 | static int boot_enable = 1; | ||
39 | #else | ||
40 | static int boot_enable; | 37 | static int boot_enable; |
41 | #endif | 38 | module_param_named(boot_enable, boot_enable, int, S_IRUGO); |
42 | module_param_named( | ||
43 | boot_enable, boot_enable, int, S_IRUGO | ||
44 | ); | ||
45 | 39 | ||
46 | /* The number of ETM/PTM currently registered */ | 40 | /* The number of ETM/PTM currently registered */ |
47 | static int etm_count; | 41 | static int etm_count; |