Skip to content

Commit 344014d

Browse files
committed
remove debug printing
1 parent f069dd7 commit 344014d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/common.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,24 +463,20 @@ BBIO_err load_device_tree(const char *name)
463463
build_path("/sys/devices", "bone_capemgr", ctrl_dir, sizeof(ctrl_dir));
464464
#endif
465465

466-
fprintf(stderr, "load_device_tree: cmd=%s\n", cmd);
467466
file = popen(cmd, "r");
468467
if (file == NULL) {
469-
fprintf(stderr, "load_device_tree: failed to grep /proc/cmdline\n");
470468
#ifndef NO_PYTHON
471469
PyErr_SetFromErrnoWithFilename(PyExc_IOError, "/proc/cmdline");
472470
#endif // !NO_PYTHON
473471
return BBIO_CAPE;
474472
}
475473
uboot_overlay = fgetc(file);
476-
fprintf(stderr, "load_device_tree: uboot_overlay=%c\n", uboot_overlay);
477474
pclose(file);
478475
if(uboot_overlay == '1') {
479476
/* Linux kernel booted with u-boot overlays enabled.
480477
Do not load overlays via slots file as the write
481478
will hang due to kernel bug in cape manager driver.
482479
Skip cape manager and just return BBIO_OK. */
483-
fprintf(stderr, "load_device_tree: u-boot overlays enable. return BBIO_OK.\n");
484480
return BBIO_OK;
485481
}
486482

0 commit comments

Comments
 (0)