Staging: vme: vme_ca91cx42: remove casts from void*
Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Martyn Welch <martyn.welch@ge.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c4d82fbb45
commit
feffce4767
@@ -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) {
|
if (dest->type == VME_DMA_VME) {
|
||||||
entry->descriptor.dctl |= CA91CX42_DCTL_L2V;
|
entry->descriptor.dctl |= CA91CX42_DCTL_L2V;
|
||||||
vme_attr = (struct vme_dma_vme *)dest->private;
|
vme_attr = dest->private;
|
||||||
pci_attr = (struct vme_dma_pci *)src->private;
|
pci_attr = src->private;
|
||||||
} else {
|
} else {
|
||||||
vme_attr = (struct vme_dma_vme *)src->private;
|
vme_attr = src->private;
|
||||||
pci_attr = (struct vme_dma_pci *)dest->private;
|
pci_attr = dest->private;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check we can do fullfill required attributes */
|
/* Check we can do fullfill required attributes */
|
||||||
|
Reference in New Issue
Block a user