lkml.org 
[lkml]   [2009]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 15/56] ide: Remove void casts
    Date
    Remove uneeded void casts

    Signed-Off-By: Jack Stone <jwjstone@fastmail.fm>
    ---
    drivers/ide/pmac.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/ide/pmac.c b/drivers/ide/pmac.c
    index 052b9bf..f76e4e6 100644
    --- a/drivers/ide/pmac.c
    +++ b/drivers/ide/pmac.c
    @@ -1682,7 +1682,7 @@ static int __devinit pmac_ide_init_dma(ide_hwif_t *hwif,
    * The +2 is +1 for the stop command and +1 to allow for
    * aligning the start address to a multiple of 16 bytes.
    */
    - pmif->dma_table_cpu = (struct dbdma_cmd*)pci_alloc_consistent(
    + pmif->dma_table_cpu = pci_alloc_consistent(
    dev,
    (MAX_DCMDS + 2) * sizeof(struct dbdma_cmd),
    &hwif->dmatable_dma);
    --
    1.5.4.3


    \
     
     \ /
      Last update: 2009-04-08 13:33    [W:0.019 / U:1.860 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site