From cab594034833f8acf580c30ecfff57e44877a19b Mon Sep 17 00:00:00 2001 From: Jeevan Shriram Date: Fri, 24 Apr 2020 11:44:33 -0700 Subject: [PATCH] include: linux: remove unused APIs when CORESIGHT is disabled Remove unused apis when the config CORESIGHT is disabled to avoid compilation error. Change-Id: I1a05d26d8f07fc70c3f061c5d5debe1f4fb7edaa Signed-off-by: Jeevan Shriram --- include/linux/coresight.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/coresight.h b/include/linux/coresight.h index 60e1a6b38a79..be5cfe4c50c3 100644 --- a/include/linux/coresight.h +++ b/include/linux/coresight.h @@ -343,8 +343,6 @@ static inline int coresight_enable_reg_clk(struct coresight_device *csdev) { return -EINVAL; } -static void coresight_disable_all_source_link(void) {}; -static void coresight_enable_all_source_link(void) {}; #endif extern int coresight_get_cpu(struct device *dev);