Skip to content

Commit

Permalink
ARM: OMAP2+: Remove unnessary return statement from the void function…
Browse files Browse the repository at this point in the history
…, omap2_show_dma_caps

This removes the no longer required return statement at the end
of the void function, omap2_show_dma_cap due to no need for a
return statement due to this function always running successfully.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Nicholas Krause authored and Tony Lindgren committed Jun 1, 2015
1 parent 28a7eed commit e3abe25
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/mach-omap2/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ static void omap2_show_dma_caps(void)
u8 revision = dma_read(REVISION, 0) & 0xff;
printk(KERN_INFO "OMAP DMA hardware revision %d.%d\n",
revision >> 4, revision & 0xf);
return;
}

static unsigned configure_dma_errata(void)
Expand Down

0 comments on commit e3abe25

Please sign in to comment.