dmaengine: pch_dma: remove unused ‘cookie’
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)
commitb33f7832bbf24dd40322fd673b2d7e3493c8515f
tree5c6c7c00ce6674c936c7ff9dadb7faaadc636619
parent765d2a6548f6e5b2968001481d19322bf9b78d83
dmaengine: pch_dma: remove unused ‘cookie’

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

drivers/dma/pch_dma.c: In function ‘pd_tx_submit’:
drivers/dma/pch_dma.c:420:15: warning: variable ‘cookie’ set but not used [-Wunused-but-set-variable]
  dma_cookie_t cookie;

So remove it.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pch_dma.c