diff options
author | Jon Medhurst <tixy@linaro.org> | 2013-04-05 11:37:32 +0100 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2013-04-29 09:43:09 +0100 |
commit | 202df162269cdb0a6f5bac1e5a6e9b0e7d550ff4 (patch) | |
tree | 61d78385432d46e8288b2db2e2ae3bf162aef3a9 | |
parent | 2941d87a83e092fdde597afdb7deaebd5e7f45b4 (diff) |
ARM: CCI: Remove unused cci_pmu_destroy() function
This static function generates a build warning as it's unused.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r-- | drivers/bus/arm-cci.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/bus/arm-cci.c b/drivers/bus/arm-cci.c index 9735b691a7a..b110645bc56 100644 --- a/drivers/bus/arm-cci.c +++ b/drivers/bus/arm-cci.c @@ -412,11 +412,6 @@ static int cci_pmu_init(struct platform_device *pdev) return armpmu_register(&cci_pmu, -1); } -static void cci_pmu_destroy(void) -{ - perf_pmu_unregister(&cci_pmu.pmu); -} - #else static int cci_pmu_init(struct platform_device *pdev) @@ -424,8 +419,6 @@ static int cci_pmu_init(struct platform_device *pdev) return 0; } -static void cci_pmu_destroy(void) { } - #endif /* CONFIG_HW_PERF_EVENTS */ void notrace disable_cci(int cluster) |