Clang complains loudly when there are duplicate printlock_sst_fwhub, gcc ignores them
Ack via IRC.
Corresponding to flashrom svn r969.
Signed-off-by: Sean Nelson <audiohacked@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
diff --git a/flashchips.c b/flashchips.c
index 1d239da..47cdc32 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -4096,7 +4096,6 @@
}
},
.printlock = printlock_sst_fwhub,
- .printlock = printlock_sst_fwhub,
.unlock = unlock_sst_fwhub,
.write = write_jedec_1,
.read = read_memmapped,
@@ -4128,7 +4127,6 @@
}
},
.printlock = printlock_sst_fwhub,
- .printlock = printlock_sst_fwhub,
.unlock = unlock_sst_fwhub,
.write = write_jedec_1,
.read = read_memmapped,
@@ -4163,7 +4161,6 @@
},
},
.printlock = printlock_sst_fwhub,
- .printlock = printlock_sst_fwhub,
.unlock = unlock_sst_fwhub,
.write = write_jedec_1,
.read = read_memmapped,
@@ -4226,7 +4223,6 @@
}
},
.printlock = printlock_sst_fwhub,
- .printlock = printlock_sst_fwhub,
.unlock = unlock_sst_fwhub,
.write = write_jedec_1,
.read = read_memmapped,