diff mbox

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

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

Commit Message

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

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 arch/arm/mach-s5pc100/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-s5pc100/dma.c:36:12: warning: ‘dma_dmamask’ defined but not
> used [-Wunused-variable]
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  arch/arm/mach-s5pc100/dma.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-s5pc100/dma.c b/arch/arm/mach-s5pc100/dma.c
> index afd8db2..b141840 100644
> --- a/arch/arm/mach-s5pc100/dma.c
> +++ b/arch/arm/mach-s5pc100/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,
> --
> 1.7.4.1

OK, will apply this into cleanup branch.
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-s5pc100/dma.c b/arch/arm/mach-s5pc100/dma.c
index afd8db2..b141840 100644
--- a/arch/arm/mach-s5pc100/dma.c
+++ b/arch/arm/mach-s5pc100/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,