summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-08-11 16:07:08 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-08-11 16:07:08 +0000
commit37e8686284eb45bdb1717088227e3fe485fb0fc4 (patch)
treed97d9d9384e4241411383e6ff1ef6e008eab9e69 /flashrom.c
parent24c38dfd96df1721c41e1a6555b7f10d0b52d42d (diff)
downloadflashrom-37e8686284eb45bdb1717088227e3fe485fb0fc4.tar.gz
flashrom-37e8686284eb45bdb1717088227e3fe485fb0fc4.tar.bz2
flashrom-37e8686284eb45bdb1717088227e3fe485fb0fc4.zip
Move show_id to where it belongs
And remove the unused force parameter. Corresponding to flashrom svn r1569. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flashrom.c b/flashrom.c
index a92537992..954415517 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -1815,7 +1815,7 @@ int doit(struct flashctx *flash, int force, const char *filename, int read_it,
#if CONFIG_INTERNAL == 1
if (programmer == PROGRAMMER_INTERNAL)
- if (show_id(newcontents, size, force)) {
+ if (show_id(newcontents, size)) {
ret = 1;
goto out;
}