]> Git Repo - qemu.git/commitdiff
omap_gpmc.c: Remove duplicate assignment
authorDr. David Alan Gilbert <[email protected]>
Fri, 24 Oct 2014 11:19:12 +0000 (12:19 +0100)
committerPeter Maydell <[email protected]>
Fri, 24 Oct 2014 11:19:12 +0000 (12:19 +0100)
This looks like an old merge error and should have no effect.
(Build tested only)

Found by Coccinelle using Julia Lawall's script:
https://lkml.org/lkml/2014/8/23/128

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Message-id: 1414055855[email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
hw/misc/omap_gpmc.c

index fbbe2ff993fd5cd9f1b52bed5653ce0dcd39e5f8..a0de52f9bf96d71ce97c7a1d78d30a5f0f93e1ed 100644 (file)
@@ -466,8 +466,6 @@ void omap_gpmc_reset(struct omap_gpmc_s *s)
         s->cs_file[i].config[3] = 0x10031003;
         s->cs_file[i].config[4] = 0x10f1111;
         s->cs_file[i].config[5] = 0;
-        s->cs_file[i].config[6] = 0xf00 | (i ? 0 : 1 << 6);
-
         s->cs_file[i].config[6] = 0xf00;
         /* In theory we could probe attached devices for some CFG1
          * bits here, but we just retain them across resets as they
This page took 0.027299 seconds and 4 git commands to generate.