提交 feffce47 编写于 作者: K Kulikov Vasiliy 提交者: Greg Kroah-Hartman

Staging: vme: vme_ca91cx42: remove casts from void*

Remove unnesessary casts from void*.
Signed-off-by: NKulikov Vasiliy <segooon@gmail.com>
Signed-off-by: NMartyn Welch <martyn.welch@ge.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c4d82fbb
......@@ -963,11 +963,11 @@ int ca91cx42_dma_list_add(struct vme_dma_list *list, struct vme_dma_attr *src,
if (dest->type == VME_DMA_VME) {
entry->descriptor.dctl |= CA91CX42_DCTL_L2V;
vme_attr = (struct vme_dma_vme *)dest->private;
pci_attr = (struct vme_dma_pci *)src->private;
vme_attr = dest->private;
pci_attr = src->private;
} else {
vme_attr = (struct vme_dma_vme *)src->private;
pci_attr = (struct vme_dma_pci *)dest->private;
vme_attr = src->private;
pci_attr = dest->private;
}
/* Check we can do fullfill required attributes */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册