From 0f1f3d1222932b745c48a0d0a79d7fcaae2df898 Mon Sep 17 00:00:00 2001 From: Tomasz Lauda Date: Tue, 10 Sep 2019 16:34:04 +0200 Subject: [PATCH] platform: remove unused PLATFORM_LINK_DMA_TIMEOUT define Removes unused define PLATFORM_LINK_DMA_TIMEOUT. Signed-off-by: Tomasz Lauda --- src/platform/apollolake/include/platform/platform.h | 6 ------ src/platform/baytrail/include/platform/platform.h | 6 ------ src/platform/cannonlake/include/platform/platform.h | 6 ------ src/platform/haswell/include/platform/platform.h | 6 ------ src/platform/icelake/include/platform/platform.h | 6 ------ src/platform/suecreek/include/platform/platform.h | 6 ------ src/platform/tigerlake/include/platform/platform.h | 6 ------ 7 files changed, 42 deletions(-) diff --git a/src/platform/apollolake/include/platform/platform.h b/src/platform/apollolake/include/platform/platform.h index 21c102317..6300da875 100644 --- a/src/platform/apollolake/include/platform/platform.h +++ b/src/platform/apollolake/include/platform/platform.h @@ -75,12 +75,6 @@ struct timer; /* DMA host transfer timeouts in microseconds */ #define PLATFORM_HOST_DMA_TIMEOUT 200 -/* DMA link transfer timeouts in microseconds - * TODO: timeout should be reduced - * (DMA might needs some further changes to do that) - */ -#define PLATFORM_LINK_DMA_TIMEOUT 1000 - /* WorkQ window size in microseconds */ #define PLATFORM_WORKQ_WINDOW 2000 diff --git a/src/platform/baytrail/include/platform/platform.h b/src/platform/baytrail/include/platform/platform.h index 67c0d66b9..a3ad49b21 100644 --- a/src/platform/baytrail/include/platform/platform.h +++ b/src/platform/baytrail/include/platform/platform.h @@ -79,12 +79,6 @@ struct timer; /* DMA host transfer timeouts in microseconds */ #define PLATFORM_HOST_DMA_TIMEOUT 200 -/* DMA link transfer timeouts in microseconds - * TODO: timeout should be reduced - * (DMA might needs some further changes to do that) - */ -#define PLATFORM_LINK_DMA_TIMEOUT 1000 - /* WorkQ window size in microseconds */ #define PLATFORM_WORKQ_WINDOW 2000 diff --git a/src/platform/cannonlake/include/platform/platform.h b/src/platform/cannonlake/include/platform/platform.h index 67358d9a3..fa1d23774 100644 --- a/src/platform/cannonlake/include/platform/platform.h +++ b/src/platform/cannonlake/include/platform/platform.h @@ -83,12 +83,6 @@ struct timer; /* DMA host transfer timeouts in microseconds */ #define PLATFORM_HOST_DMA_TIMEOUT 200 -/* DMA link transfer timeouts in microseconds - * TODO: timeout should be reduced - * (DMA might needs some further changes to do that) - */ -#define PLATFORM_LINK_DMA_TIMEOUT 1000 - /* WorkQ window size in microseconds */ #define PLATFORM_WORKQ_WINDOW 2000 diff --git a/src/platform/haswell/include/platform/platform.h b/src/platform/haswell/include/platform/platform.h index 7e984f9e0..624da37c3 100644 --- a/src/platform/haswell/include/platform/platform.h +++ b/src/platform/haswell/include/platform/platform.h @@ -75,12 +75,6 @@ struct timer; /* DMA host transfer timeouts in microseconds */ #define PLATFORM_HOST_DMA_TIMEOUT 200 -/* DMA link transfer timeouts in microseconds - * TODO: timeout should be reduced - * (DMA might needs some further changes to do that) - */ -#define PLATFORM_LINK_DMA_TIMEOUT 1000 - /* WorkQ window size in microseconds */ #define PLATFORM_WORKQ_WINDOW 2000 diff --git a/src/platform/icelake/include/platform/platform.h b/src/platform/icelake/include/platform/platform.h index f909484c5..c8775d874 100644 --- a/src/platform/icelake/include/platform/platform.h +++ b/src/platform/icelake/include/platform/platform.h @@ -83,12 +83,6 @@ struct timer; /* DMA host transfer timeouts in microseconds */ #define PLATFORM_HOST_DMA_TIMEOUT 200 -/* DMA link transfer timeouts in microseconds - * TODO: timeout should be reduced - * (DMA might needs some further changes to do that) - */ -#define PLATFORM_LINK_DMA_TIMEOUT 1000 - /* WorkQ window size in microseconds */ #define PLATFORM_WORKQ_WINDOW 2000 diff --git a/src/platform/suecreek/include/platform/platform.h b/src/platform/suecreek/include/platform/platform.h index 185a7ed43..0b3cb2658 100644 --- a/src/platform/suecreek/include/platform/platform.h +++ b/src/platform/suecreek/include/platform/platform.h @@ -79,12 +79,6 @@ struct timer; /* DMA host transfer timeouts in microseconds */ #define PLATFORM_HOST_DMA_TIMEOUT 200 -/* DMA link transfer timeouts in microseconds - * TODO: timeout should be reduced - * (DMA might needs some further changes to do that) - */ -#define PLATFORM_LINK_DMA_TIMEOUT 1000 - /* WorkQ window size in microseconds */ #define PLATFORM_WORKQ_WINDOW 2000 diff --git a/src/platform/tigerlake/include/platform/platform.h b/src/platform/tigerlake/include/platform/platform.h index cb08a4c51..9ce932619 100644 --- a/src/platform/tigerlake/include/platform/platform.h +++ b/src/platform/tigerlake/include/platform/platform.h @@ -83,12 +83,6 @@ struct timer; /* DMA host transfer timeouts in microseconds */ #define PLATFORM_HOST_DMA_TIMEOUT 200 -/* DMA link transfer timeouts in microseconds - * TODO: timeout should be reduced - * (DMA might needs some further changes to do that) - */ -#define PLATFORM_LINK_DMA_TIMEOUT 1000 - /* WorkQ window size in microseconds */ #define PLATFORM_WORKQ_WINDOW 2000