Skip to content

Commit 0e75c28

Browse files
ambarusvinodkoul
authored andcommitted
dmaengine: at_hdmac: Remove superfluous cast
Conversions of void * are applied automatically when other pointer types are assigned to and from void *. Remove the superfluous cast. Signed-off-by: Tudor Ambarus <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 83c1961 commit 0e75c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/at_hdmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ static void atc_tasklet(struct tasklet_struct *t)
603603

604604
static irqreturn_t at_dma_interrupt(int irq, void *dev_id)
605605
{
606-
struct at_dma *atdma = (struct at_dma *)dev_id;
606+
struct at_dma *atdma = dev_id;
607607
struct at_dma_chan *atchan;
608608
int i;
609609
u32 status, pending, imr;

0 commit comments

Comments
 (0)