1
0
Fork 0

dma: mv_xor: remove unused id field in mv_xor_device structure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
hifive-unleashed-5.1
Thomas Petazzoni 2012-10-30 13:19:08 +01:00
parent 61971656ce
commit 8b5c3f6c8d
2 changed files with 0 additions and 3 deletions

View File

@ -1125,8 +1125,6 @@ mv_xor_channel_add(struct mv_xor_private *msp,
if (!adev->dma_desc_pool_virt)
return ERR_PTR(-ENOMEM);
adev->id = hw_id;
/* discover transaction capabilites from the platform data */
dma_dev->cap_mask = cap_mask;
adev->pdev = pdev;

View File

@ -71,7 +71,6 @@ struct mv_xor_private {
*/
struct mv_xor_device {
struct platform_device *pdev;
int id;
dma_addr_t dma_desc_pool;
void *dma_desc_pool_virt;
size_t pool_size;