From: Andy Green warning-elimination: nobody uses cci_pmu_destroy Nobody uses static function, get rid of the function and warning Signed-off-by: Andy Green --- diff --git a/drivers/bus/arm-cci.c b/drivers/bus/arm-cci.c index aa0e0d5..ea640dc 100644 --- a/drivers/bus/arm-cci.c +++ b/drivers/bus/arm-cci.c @@ -463,8 +463,6 @@ static int __init cci_pmu_init(void) return 0; } -static void cci_pmu_destroy(void) { } - #endif /* CONFIG_HW_PERF_EVENTS */ struct cpu_port {