diff mbox

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

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

Commit Message

Sachin Kamat April 9, 2012, 4:26 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-s5pv210/dma.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Comments

Kukjin Kim April 10, 2012, 4:54 p.m. UTC | #1
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-s5pv210/dma.c |    2 --
>   1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-s5pv210/dma.c b/arch/arm/mach-s5pv210/dma.c
> index 86ce62f..b8337e2 100644
> --- a/arch/arm/mach-s5pv210/dma.c
> +++ b/arch/arm/mach-s5pv210/dma.c
> @@ -33,8 +33,6 @@
>   #include<mach/irqs.h>
>   #include<mach/dma.h>
>
> -static u64 dma_dmamask = DMA_BIT_MASK(32);
> -
>   static u8 pdma0_peri[] = {
>   	DMACH_UART0_RX,
>   	DMACH_UART0_TX,

Applied, 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-s5pv210/dma.c b/arch/arm/mach-s5pv210/dma.c
index 86ce62f..b8337e2 100644
--- a/arch/arm/mach-s5pv210/dma.c
+++ b/arch/arm/mach-s5pv210/dma.c
@@ -33,8 +33,6 @@ 
 #include <mach/irqs.h>
 #include <mach/dma.h>
 
-static u64 dma_dmamask = DMA_BIT_MASK(32);
-
 static u8 pdma0_peri[] = {
 	DMACH_UART0_RX,
 	DMACH_UART0_TX,