]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmaengine: mic_x100_dma: remove unused ‘data’
authorVinod Koul <vinod.koul@intel.com>
Fri, 9 Dec 2016 09:54:12 +0000 (15:24 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 12 Dec 2016 16:55:22 +0000 (22:25 +0530)
commit765d2a6548f6e5b2968001481d19322bf9b78d83
treee73e88483bc21d32f7c94a1087aef9d61815a60f
parente5a6b3d5deeee7b7b45fe8765b5e48033adc9e8a
dmaengine: mic_x100_dma: remove unused ‘data’

In mic_dma_init(), variable ‘data’ is initialized but never used, which
leads to warning with W=1

drivers/dma/mic_x100_dma.c: In function ‘mic_dma_init’:
drivers/dma/mic_x100_dma.c:557:17: warning: variable ‘data’ set but not used [-Wunused-but-set-variable]
   unsigned long data;

So remove it.

Cc: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mic_x100_dma.c