diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c index 69852a99fc24..4746fee4cd48 100644 --- a/drivers/dma/coh901318.c +++ b/drivers/dma/coh901318.c @@ -1810,7 +1810,6 @@ static struct dma_chan *coh901318_xlate(struct of_phandle_args *dma_spec, static int coh901318_config(struct coh901318_chan *cohc, struct coh901318_params *param) { - unsigned long flags; const struct coh901318_params *p; int channel = cohc->id; void __iomem *virtbase = cohc->base->virtbase;