nilfs2: potential integer overflow in nilfs_ioctl_clean_segments()
[pandora-kernel.git] / drivers / dma / pl330.c
index 621134f..5710414 100644 (file)
@@ -887,11 +887,9 @@ pl330_probe(struct amba_device *adev, const struct amba_id *id)
                spin_lock_init(&pch->lock);
                pch->pl330_chid = NULL;
                pch->chan.device = pd;
-               pch->chan.chan_id = i;
                pch->dmac = pdmac;
 
                /* Add the channel to the DMAC list */
-               pd->chancnt++;
                list_add_tail(&pch->chan.device_node, &pd->channels);
        }