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

Message ID 1462362706-31216-10-git-send-email-nico.huber@secunet.com
State New
Headers show

Commit Message

Nico Huber May 4, 2016, 11:51 a.m.
Signed-off-by: Nico Huber <nico.huber@secunet.com>
---
 cli_classic.c | 6 ------
 1 file changed, 6 deletions(-)

Patch

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;