[PATCH] cmd: gpt: remove redundant print messages

Ravik Hasija
2021-03-30T21:34:40Z

Removing printfs from do_gpt API as the messages are generic and does not
specify error codes for failure cases.

Signed-off-by: Ravik Hasija <rahasij@linux.microsoft.com>
---
cmd/gpt.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/cmd/gpt.c b/cmd/gpt.c
index 76a95ade6c..2c516745b0 100644
--- a/cmd/gpt.c
+++ b/cmd/gpt.c
@@ -992,11 +992,9 @@ static int do_gpt(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
}

if (ret) {
- printf("error!\n");
return CMD_RET_FAILURE;
}

- printf("success!\n");
return CMD_RET_SUCCESS;
}

--
2.17.1