[flashrom] [PATCH 09/14] cli_classic: Remove layout-for-write-only check

Nico Huber nico.huber at secunet.com
Wed May 4 13:51:41 CEST 2016


Signed-off-by: Nico Huber <nico.huber at secunet.com>
---
 cli_classic.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/cli_classic.c b/cli_classic.c
index d23a3a3..aef7693 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -376,12 +376,6 @@ int main(int argc, char *argv[])
 		ret = 1;
 		goto out;
 	}
-	if (layoutfile != NULL && !write_it) {
-		msg_gerr("Layout files are currently supported for write operations only.\n");
-		ret = 1;
-		goto out;
-	}
-
 	if (process_include_args()) {
 		ret = 1;
 		goto out;
-- 
2.7.0





More information about the flashrom mailing list