omap_gpmc.c: Remove duplicate assignment
PATCH 1/1 omap_gpmc.c: Remove duplicate assignment
From: "Dr. David Alan Gilbert" <[email protected]>
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]>
--- hw/misc/omap_gpmc.c | 2 -- 1 file changed, 2 deletions(-)
hw/misc/omap_gpmc.c +0 -2
@@ -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
Signature · 1 line
2.1.0
Peter Maydell
AppliedQuoted 5 lines · Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" <[email protected]>
This looks like an old merge error and should have no effect. (Build tested only)
Quoted 7 lines
Found by Coccinelle using Julia Lawall's script:
https://lkml.org/lkml/2014/8/23/128Signed-off-by Dr. David Alan Gilbert <[email protected]>--- hw/misc/omap_gpmc.c | 2 -- 1 file changed, 2 deletions(-)
Thanks, applied to target-arm.next.
-- PMM