Skip to content

Commit

Permalink
ARM: omap2: remove unneeded variable: "errata"
Browse files Browse the repository at this point in the history
Remove unneeded variable: "errata".

Signed-off-by: gushengxian <gushengxian@yulong.com>
  • Loading branch information
gushengxian authored and intel-lab-lkp committed Jun 24, 2021
1 parent 91ee322 commit d29c977
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/arm/mach-omap2/dma.c
Expand Up @@ -79,7 +79,6 @@ static const struct omap_dma_reg reg_map[] = {

static unsigned configure_dma_errata(void)
{
unsigned errata = 0;

/*
* Errata applicable for OMAP2430ES1.0 and all omap2420
Expand Down Expand Up @@ -158,7 +157,7 @@ static unsigned configure_dma_errata(void)
if (cpu_is_omap34xx() && (omap_type() != OMAP2_DEVICE_TYPE_GP))
SET_DMA_ERRATA(DMA_ROMCODE_BUG);

return errata;
return 0;
}

static const struct dma_slave_map omap24xx_sdma_dt_map[] = {
Expand Down

0 comments on commit d29c977

Please sign in to comment.