OSDN Git Service

selftests: ion: Remove some prints
authorLaura Abbott <labbott@redhat.com>
Fri, 16 Feb 2018 01:24:44 +0000 (17:24 -0800)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 6 Mar 2018 01:56:14 +0000 (18:56 -0700)
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>
tools/testing/selftests/android/ion/ionutils.c

index ce69c14..7d1d37c 100644 (file)
@@ -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__);
        }
 }