aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/android/ion/ionutils.c
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2018-02-15 17:24:44 -0800
committerShuah Khan <shuahkh@osg.samsung.com>2018-03-05 18:56:14 -0700
commit829dd7d642c90b641f14aed03a722a4d3e058083 (patch)
treee9440848b65662670c95123a741374eafdf706be /tools/testing/selftests/android/ion/ionutils.c
parentLinux 4.16-rc4 (diff)
downloadlinux-dev-829dd7d642c90b641f14aed03a722a4d3e058083.tar.xz
linux-dev-829dd7d642c90b641f14aed03a722a4d3e058083.zip
selftests: ion: Remove some prints
There's no need to print messages each time we alloc and free. Remove them. Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/android/ion/ionutils.c')
-rw-r--r--tools/testing/selftests/android/ion/ionutils.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/testing/selftests/android/ion/ionutils.c b/tools/testing/selftests/android/ion/ionutils.c
index ce69c14f51fa..7d1d37c4ef6a 100644
--- a/tools/testing/selftests/android/ion/ionutils.c
+++ b/tools/testing/selftests/android/ion/ionutils.c
@@ -80,11 +80,6 @@ int ion_export_buffer_fd(struct ion_buffer_info *ion_info)
heap_id = MAX_HEAP_COUNT + 1;
for (i = 0; i < query.cnt; i++) {
if (heap_data[i].type == ion_info->heap_type) {
- printf("--------------------------------------\n");
- printf("heap type: %d\n", heap_data[i].type);
- printf(" heap id: %d\n", heap_data[i].heap_id);
- printf("heap name: %s\n", heap_data[i].name);
- printf("--------------------------------------\n");
heap_id = heap_data[i].heap_id;
break;
}
@@ -204,7 +199,6 @@ void ion_close_buffer_fd(struct ion_buffer_info *ion_info)
/* Finally, close the client fd */
if (ion_info->ionfd > 0)
close(ion_info->ionfd);
- printf("<%s>: buffer release successfully....\n", __func__);
}
}