From patchwork Fri Feb 16 01:24:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 10223967 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4626E60325 for ; Fri, 16 Feb 2018 01:25:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39808294A3 for ; Fri, 16 Feb 2018 01:25:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E56D29546; Fri, 16 Feb 2018 01:25:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E8468294A3 for ; Fri, 16 Feb 2018 01:25:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B31FB6E590; Fri, 16 Feb 2018 01:25:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ot0-f195.google.com (mail-ot0-f195.google.com [74.125.82.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id 78A8189994 for ; Fri, 16 Feb 2018 01:24:57 +0000 (UTC) Received: by mail-ot0-f195.google.com with SMTP id l10so1513037oth.1 for ; Thu, 15 Feb 2018 17:24:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BFTUrHW49/yeIhKXO/EKVzVuvJCC9JmMcrc6JnR7RUg=; b=XSHRR01g0Ra+b1kv6AorNycINaVdFPErPD6LKXdT3y/dxuKKp8Mjo87e+Xj/QW9yp1 lXXfK0s/VEN1j7yh/s5RQbqJIV5f2C3PN4cD3w0v6rAu16b1PoqvtdVHjaLOKBbmYZYY C7r3RiOCo/xAeGSCRvKhCvmGzbw6q+5ecMoqb27Wd8tY8H53jHcEoIGNCWZfuWF91SmW 4xdU5OtKZ82ssd3GKq70fb6mu4ZnRGTLWqcdqhMFrLt5RqK1tn0e4mrX3r4nsfX0zsVq mgq45zKJ5jwW+I8kFUeT22XKicsBPhyTaREDRmtJzX1CW7W0Rgcqds1riq3HTZOJN5eQ uH3w== X-Gm-Message-State: APf1xPDT9qeIpUsyFnSgpd+dTmM/tDcA3V11684BU8dxcrXQE0dv2J0e MZD62V20JIiXygVLjBXZH1r1Eg== X-Google-Smtp-Source: AH8x227/yHkRwUvDT6ckRaU4WHKLYCsN2BVHAFiWP4gVR6TwNQP2+HWz8mDllhTNGUUZOMoobC8obA== X-Received: by 10.157.35.74 with SMTP id k10mr3312043otd.269.1518744296829; Thu, 15 Feb 2018 17:24:56 -0800 (PST) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::f21a]) by smtp.gmail.com with ESMTPSA id 18sm9156443oty.64.2018.02.15.17.24.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2018 17:24:55 -0800 (PST) From: Laura Abbott To: Sumit Semwal Subject: [PATCH 1/2] selftests: ion: Remove some prints Date: Thu, 15 Feb 2018 17:24:44 -0800 Message-Id: <20180216012445.17264-2-labbott@redhat.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180216012445.17264-1-labbott@redhat.com> References: <20180216012445.17264-1-labbott@redhat.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, Todd Kjos , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Liam Mark , linux-kselftest@vger.kernel.org, Shuah Khan MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP There's no need to print messages each time we alloc and free. Remove them. Signed-off-by: Laura Abbott --- tools/testing/selftests/android/ion/ionutils.c | 6 ------ 1 file changed, 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__); } }