diff mbox series

[ndctl] test, dsm-fail: Cleanup leftover debug

Message ID 153940497765.1425803.8798243923079683083.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State New, archived
Headers show
Series [ndctl] test, dsm-fail: Cleanup leftover debug | expand

Commit Message

Dan Williams Oct. 13, 2018, 4:29 a.m. UTC
Prints from a debug session got committed, delete them.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 test/dsm-fail.c |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

Comments

Vishal Verma Oct. 15, 2018, 10:59 p.m. UTC | #1
On Fri, 2018-10-12 at 21:29 -0700, Dan Williams wrote:
> Prints from a debug session got committed, delete them.
> 
> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
> ---
>  test/dsm-fail.c |   11 +----------
>  1 file changed, 1 insertion(+), 10 deletions(-)
> 

Looks good, applied.

> 
>
diff mbox series

Patch

diff --git a/test/dsm-fail.c b/test/dsm-fail.c
index 6845f818c8da..6e812aec008f 100644
--- a/test/dsm-fail.c
+++ b/test/dsm-fail.c
@@ -291,48 +291,39 @@  static int do_test(struct ndctl_ctx *ctx, struct ndctl_test *test)
 			&log_ctx);
 	if (rc)
 		goto out;
-	fprintf(stderr, "%s:%d\n", __func__, __LINE__);
 	rc = test_dimms_enable(bus, victim, true);
 	if (rc)
 		goto out;
-	fprintf(stderr, "%s:%d\n", __func__, __LINE__);
 	rc = test_regions_enable(bus, victim, victim_region, true, 2);
 	if (rc)
 		goto out;
-	fprintf(stderr, "%s:%d\n", __func__, __LINE__);
 	rc = set_dimm_response(DIMM_PATH, ND_CMD_GET_CONFIG_SIZE, 0, &log_ctx);
 	if (rc)
 		goto out;
 
 	ndctl_region_foreach(bus, region)
 		ndctl_region_disable_invalidate(region);
-	fprintf(stderr, "%s:%d\n", __func__, __LINE__);
 	rc = dimms_disable(bus);
 	if (rc)
 		goto out;
-	fprintf(stderr, "%s:%d\n", __func__, __LINE__);
 
 	rc = set_dimm_response(DIMM_PATH, ND_CMD_GET_CONFIG_DATA, -EACCES,
 			&log_ctx);
 	if (rc)
 		goto out;
-	fprintf(stderr, "%s:%d\n", __func__, __LINE__);
+
 	rc = test_dimms_enable(bus, victim, false);
 	if (rc)
 		goto out;
-	fprintf(stderr, "%s:%d\n", __func__, __LINE__);
 	rc = test_regions_enable(bus, victim, victim_region, false, 0);
 	if (rc)
 		goto out;
-	fprintf(stderr, "%s:%d\n", __func__, __LINE__);
 	rc = set_dimm_response(DIMM_PATH, ND_CMD_GET_CONFIG_DATA, 0, &log_ctx);
 	if (rc)
 		goto out;
-	fprintf(stderr, "%s:%d\n", __func__, __LINE__);
 	rc = dimms_disable(bus);
 	if (rc)
 		goto out;
-	fprintf(stderr, "%s:%d\n", __func__, __LINE__);
 
  out:
 	err = rc;