diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-06-29 14:16:20 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-08 13:54:02 -0700 |
commit | c4d82fbb458e6c6eebcff84653563c9c5e9a530d (patch) | |
tree | 4ac2749fdabb108c758d6e9f01e1e0c7622f76f1 /drivers/staging/vme | |
parent | c755a8283212659bad39e387377c337a27156d8a (diff) |
Staging: vme: vme_tsi148: 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>
Diffstat (limited to 'drivers/staging/vme')
-rw-r--r-- | drivers/staging/vme/bridges/vme_tsi148.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/vme/bridges/vme_tsi148.c b/drivers/staging/vme/bridges/vme_tsi148.c index f09cac163139..492ddb2d5108 100644 --- a/drivers/staging/vme/bridges/vme_tsi148.c +++ b/drivers/staging/vme/bridges/vme_tsi148.c @@ -1649,7 +1649,7 @@ int tsi148_dma_list_add(struct vme_dma_list *list, struct vme_dma_attr *src, /* Fill out source part */ switch (src->type) { case VME_DMA_PATTERN: - pattern_attr = (struct vme_dma_pattern *)src->private; + pattern_attr = src->private; entry->descriptor.dsal = pattern_attr->pattern; entry->descriptor.dsat = TSI148_LCSR_DSAT_TYP_PAT; @@ -1663,7 +1663,7 @@ int tsi148_dma_list_add(struct vme_dma_list *list, struct vme_dma_attr *src, break; case VME_DMA_PCI: - pci_attr = (struct vme_dma_pci *)src->private; + pci_attr = src->private; reg_split((unsigned long long)pci_attr->address, &address_high, &address_low); @@ -1672,7 +1672,7 @@ int tsi148_dma_list_add(struct vme_dma_list *list, struct vme_dma_attr *src, entry->descriptor.dsat = TSI148_LCSR_DSAT_TYP_PCI; break; case VME_DMA_VME: - vme_attr = (struct vme_dma_vme *)src->private; + vme_attr = src->private; reg_split((unsigned long long)vme_attr->address, &address_high, &address_low); @@ -1701,7 +1701,7 @@ int tsi148_dma_list_add(struct vme_dma_list *list, struct vme_dma_attr *src, /* Fill out destination part */ switch (dest->type) { case VME_DMA_PCI: - pci_attr = (struct vme_dma_pci *)dest->private; + pci_attr = dest->private; reg_split((unsigned long long)pci_attr->address, &address_high, &address_low); @@ -1710,7 +1710,7 @@ int tsi148_dma_list_add(struct vme_dma_list *list, struct vme_dma_attr *src, entry->descriptor.ddat = TSI148_LCSR_DDAT_TYP_PCI; break; case VME_DMA_VME: - vme_attr = (struct vme_dma_vme *)dest->private; + vme_attr = dest->private; reg_split((unsigned long long)vme_attr->address, &address_high, &address_low); |