Merge tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[deliverable/linux.git] / drivers / dma / cppi41.c
index ceedafbd23e01fcda6968fb04707ae141cff3a88..4b2317426c8e3851fc172002ddc50be1bcf69135 100644 (file)
@@ -497,16 +497,13 @@ static struct dma_async_tx_descriptor *cppi41_dma_prep_slave_sg(
        struct cppi41_desc *d;
        struct scatterlist *sg;
        unsigned int i;
-       unsigned int num;
 
-       num = 0;
        d = c->desc;
        for_each_sg(sgl, sg, sg_len, i) {
                u32 addr;
                u32 len;
 
                /* We need to use more than one desc once musb supports sg */
-               BUG_ON(num > 0);
                addr = lower_32_bits(sg_dma_address(sg));
                len = sg_dma_len(sg);
 
This page took 0.02728 seconds and 5 git commands to generate.