Skip to content
Commit b33f7832 authored by Vinod Koul's avatar Vinod Koul
Browse files

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: default avatarVinod Koul <vinod.koul@intel.com>
parent 765d2a65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment