diff mbox

[1/1] ARM: S5P64X0: Remove unused variable in dma.c file

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

Commit Message

Sachin Kamat June 5, 2012, 4:38 a.m. UTC
Fixes the following warning:
arch/arm/mach-s5p64x0/dma.c:39:12: warning: ‘dma_dmamask’ defined but not used [-Wunused-variable]

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

Comments

Kukjin Kim June 19, 2012, 8:51 a.m. UTC | #1
Sachin Kamat wrote:
>
> Fixes the following warning:
> arch/arm/mach-s5p64x0/dma.c:39:12: warning: ‘dma_dmamask’ defined but not
> used [-Wunused-variable]
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  arch/arm/mach-s5p64x0/dma.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-s5p64x0/dma.c b/arch/arm/mach-s5p64x0/dma.c
> index 2ee5dc0..9c4ce08 100644
> --- a/arch/arm/mach-s5p64x0/dma.c
> +++ b/arch/arm/mach-s5p64x0/dma.c
> @@ -36,8 +36,6 @@
>  #include <plat/devs.h>
>  #include <plat/irqs.h>
> 
> -static u64 dma_dmamask = DMA_BIT_MASK(32);
> -
>  static u8 s5p6440_pdma_peri[] = {
>  	DMACH_UART0_RX,
>  	DMACH_UART0_TX,
> --
> 1.7.4.1

OK, will apply.
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-s5p64x0/dma.c b/arch/arm/mach-s5p64x0/dma.c
index 2ee5dc0..9c4ce08 100644
--- a/arch/arm/mach-s5p64x0/dma.c
+++ b/arch/arm/mach-s5p64x0/dma.c
@@ -36,8 +36,6 @@ 
 #include <plat/devs.h>
 #include <plat/irqs.h>
 
-static u64 dma_dmamask = DMA_BIT_MASK(32);
-
 static u8 s5p6440_pdma_peri[] = {
 	DMACH_UART0_RX,
 	DMACH_UART0_TX,