浏览代码

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>
Laura Abbott 7 年之前
父节点
当前提交
829dd7d642
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      tools/testing/selftests/android/ion/ionutils.c

+ 0 - 6
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;
 	heap_id = MAX_HEAP_COUNT + 1;
 	for (i = 0; i < query.cnt; i++) {
 	for (i = 0; i < query.cnt; i++) {
 		if (heap_data[i].type == ion_info->heap_type) {
 		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;
 			heap_id = heap_data[i].heap_id;
 			break;
 			break;
 		}
 		}
@@ -204,7 +199,6 @@ void ion_close_buffer_fd(struct ion_buffer_info *ion_info)
 		/* Finally, close the client fd */
 		/* Finally, close the client fd */
 		if (ion_info->ionfd > 0)
 		if (ion_info->ionfd > 0)
 			close(ion_info->ionfd);
 			close(ion_info->ionfd);
-		printf("<%s>: buffer release successfully....\n", __func__);
 	}
 	}
 }
 }