From: Rajneesh Bhardwaj Date: Thu, 20 Jul 2017 14:21:14 +0000 (+0530) Subject: platform/x86: intel_telemetry: remove redundant macro definition X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=95a5af1838129aeb1678775928a1d714b62b4c1a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git platform/x86: intel_telemetry: remove redundant macro definition Telemetry driver includes intel_telemetry.h which defines TELEM_MAX_OS_ALLOCATED_EVENTS already. Signed-off-by: Rajneesh Bhardwaj Reviewed-by: Souvik K Chakravarty Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/intel_telemetry_pltdrv.c b/drivers/platform/x86/intel_telemetry_pltdrv.c index 6393b3b1d5a6..e0424d5a795a 100644 --- a/drivers/platform/x86/intel_telemetry_pltdrv.c +++ b/drivers/platform/x86/intel_telemetry_pltdrv.c @@ -46,7 +46,6 @@ #define TELEM_SAMPLING_DEFAULT_PERIOD 0xD #define TELEM_MAX_EVENTS_SRAM 28 -#define TELEM_MAX_OS_ALLOCATED_EVENTS 20 #define TELEM_SSRAM_STARTTIME_OFFSET 8 #define TELEM_SSRAM_EVTLOG_OFFSET 16