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:
parent
c4d82fbb45
commit
feffce4767
1 changed files with 4 additions and 4 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue