From ed3eae68738c6655eab45265ab204b79504af701 Mon Sep 17 00:00:00 2001 From: Sean Nelson Date: Mon, 22 Mar 2010 21:48:51 +0000 Subject: [PATCH] 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 Acked-by: Carl-Daniel Hailfinger --- flashchips.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/flashchips.c b/flashchips.c index 1d239da6e..47cdc325a 100644 --- a/flashchips.c +++ b/flashchips.c @@ -4096,7 +4096,6 @@ struct flashchip flashchips[] = { } }, .printlock = printlock_sst_fwhub, - .printlock = printlock_sst_fwhub, .unlock = unlock_sst_fwhub, .write = write_jedec_1, .read = read_memmapped, @@ -4128,7 +4127,6 @@ struct flashchip flashchips[] = { } }, .printlock = printlock_sst_fwhub, - .printlock = printlock_sst_fwhub, .unlock = unlock_sst_fwhub, .write = write_jedec_1, .read = read_memmapped, @@ -4163,7 +4161,6 @@ struct flashchip flashchips[] = { }, }, .printlock = printlock_sst_fwhub, - .printlock = printlock_sst_fwhub, .unlock = unlock_sst_fwhub, .write = write_jedec_1, .read = read_memmapped, @@ -4226,7 +4223,6 @@ struct flashchip flashchips[] = { } }, .printlock = printlock_sst_fwhub, - .printlock = printlock_sst_fwhub, .unlock = unlock_sst_fwhub, .write = write_jedec_1, .read = read_memmapped,