diff mbox

ARM: EXYNOS: Fix compiler warning in dma.c file

Message ID 1333441841-2307-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat April 3, 2012, 8:30 a.m. UTC
Fixes the following warning:
warning: ‘dma_dmamask’ defined but not used [-Wunused-variable]

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 arch/arm/mach-exynos/dma.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Comments

Kukjin Kim April 5, 2012, 2:58 p.m. UTC | #1
On 04/03/12 01:30, Sachin Kamat wrote:
> Fixes the following warning:
> warning: ‘dma_dmamask’ defined but not used [-Wunused-variable]
>
> Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
> ---
>   arch/arm/mach-exynos/dma.c |    2 --
>   1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/dma.c b/arch/arm/mach-exynos/dma.c
> index 3983abe..69aaa45 100644
> --- a/arch/arm/mach-exynos/dma.c
> +++ b/arch/arm/mach-exynos/dma.c
> @@ -35,8 +35,6 @@
>   #include<mach/irqs.h>
>   #include<mach/dma.h>
>
> -static u64 dma_dmamask = DMA_BIT_MASK(32);
> -
>   static u8 exynos4210_pdma0_peri[] = {
>   	DMACH_PCM0_RX,
>   	DMACH_PCM0_TX,

Applied, thanks.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
diff mbox

Patch

diff --git a/arch/arm/mach-exynos/dma.c b/arch/arm/mach-exynos/dma.c
index 3983abe..69aaa45 100644
--- a/arch/arm/mach-exynos/dma.c
+++ b/arch/arm/mach-exynos/dma.c
@@ -35,8 +35,6 @@ 
 #include <mach/irqs.h>
 #include <mach/dma.h>
 
-static u64 dma_dmamask = DMA_BIT_MASK(32);
-
 static u8 exynos4210_pdma0_peri[] = {
 	DMACH_PCM0_RX,
 	DMACH_PCM0_TX,