aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2018-02-15 20:24:44 -0500
committerShuah Khan <shuahkh@osg.samsung.com>2018-03-05 20:56:14 -0500
commit829dd7d642c90b641f14aed03a722a4d3e058083 (patch)
treee9440848b65662670c95123a741374eafdf706be
parent661e50bc853209e41a5c14a290ca4decc43cbfd1 (diff)
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>
-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)
80 heap_id = MAX_HEAP_COUNT + 1; 80 heap_id = MAX_HEAP_COUNT + 1;
81 for (i = 0; i < query.cnt; i++) { 81 for (i = 0; i < query.cnt; i++) {
82 if (heap_data[i].type == ion_info->heap_type) { 82 if (heap_data[i].type == ion_info->heap_type) {
83 printf("--------------------------------------\n");
84 printf("heap type: %d\n", heap_data[i].type);
85 printf(" heap id: %d\n", heap_data[i].heap_id);
86 printf("heap name: %s\n", heap_data[i].name);
87 printf("--------------------------------------\n");
88 heap_id = heap_data[i].heap_id; 83 heap_id = heap_data[i].heap_id;
89 break; 84 break;
90 } 85 }
@@ -204,7 +199,6 @@ void ion_close_buffer_fd(struct ion_buffer_info *ion_info)
204 /* Finally, close the client fd */ 199 /* Finally, close the client fd */
205 if (ion_info->ionfd > 0) 200 if (ion_info->ionfd > 0)
206 close(ion_info->ionfd); 201 close(ion_info->ionfd);
207 printf("<%s>: buffer release successfully....\n", __func__);
208 } 202 }
209} 203}
210 204