提交 8b5c3f6c 编写于 作者: T Thomas Petazzoni

dma: mv_xor: remove unused id field in mv_xor_device structure

Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
上级 61971656
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册