Skip to content

Commit

Permalink
Staging: vme: vme_ca91cx42: remove casts from void*
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kulikov Vasiliy authored and Greg Kroah-Hartman committed Jul 8, 2010
1 parent c4d82fb commit feffce4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/vme/bridges/vme_ca91cx42.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit feffce4

Please sign in to comment.