ARM: OMAP2+: Remove unnessary return statement from the void function, omap2_show_dma...
authorNicholas Krause <xerofoify@gmail.com>
Thu, 28 May 2015 15:00:05 +0000 (11:00 -0400)
committerTony Lindgren <tony@atomide.com>
Mon, 1 Jun 2015 22:01:51 +0000 (15:01 -0700)
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>
arch/arm/mach-omap2/dma.c

index e1a56d87599e640620e506989de7b5f302c49695..1ed4be184a29b16f6f8d97a082fb80d424ca0665 100644 (file)
@@ -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)