From patchwork Wed Feb 21 22:25:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 10234207 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 DFD2E604D3 for ; Wed, 21 Feb 2018 22:25:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2409285C7 for ; Wed, 21 Feb 2018 22:25:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6AA8285CD; Wed, 21 Feb 2018 22:25:56 +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 722E5285D2 for ; Wed, 21 Feb 2018 22:25:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5658B6E985; Wed, 21 Feb 2018 22:25:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-oi0-f68.google.com (mail-oi0-f68.google.com [209.85.218.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3BAA76E985 for ; Wed, 21 Feb 2018 22:25:54 +0000 (UTC) Received: by mail-oi0-f68.google.com with SMTP id j81so400597oia.0 for ; Wed, 21 Feb 2018 14:25:54 -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=Cr3qWmli01hXBZ2jo8bs9gAyEWR2uYTL+NEcDofTMWE=; b=KyF0kb/eCKM6EtD+sgGMo78PalcodAr9Ve+fBoYtRpLfd3VlRSMNb+x+NC138OdDHj eUVb1AsNAyJEDLtF0wOTBGOALLD80ZVQJrO/RwVoaFIaDRtVCx3MUKxxfIbvpTsLwDex yIwzgPqYyInZw9SN+WGGytkxm9nqQmosb81YZeQE8TaY4txK8HFHyD/uyv+Xagot6iw/ tn3wrhHdYefjaR7JM2tGL0yKqZFTeIxMMnazDzXn7ZSWf6kWQZcvYNkuL0tlKP9XfxXP PwXHt+SNpbgcGZ+K1p6GLcD1rWTpW5D2O274XwckgkWVXia5/vsW9jId4SnByMAGpdOh mb2A== X-Gm-Message-State: APf1xPDJ8sYHa4C/FAsYVVrfui8Wuv8JYc29OzyHRafi0kC34es/c30y jBSZlZim1vKrXUsJxqjyHjR2XQ== X-Google-Smtp-Source: AH8x2272egcD4J3PprQi0kXLnmpJ7eFC6fCdhQNtOcyHnfFygjIUeAYNlVpmI8t+x4IatwT9ab3LTw== X-Received: by 10.202.25.13 with SMTP id l13mr1430789oii.173.1519251953357; Wed, 21 Feb 2018 14:25:53 -0800 (PST) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::f21a]) by smtp.gmail.com with ESMTPSA id s62sm6317717oia.37.2018.02.21.14.25.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Feb 2018 14:25:51 -0800 (PST) From: Laura Abbott To: Sumit Semwal , Daniel Vetter Subject: [PATCHv2 1/2] selftests: ion: Remove some prints Date: Wed, 21 Feb 2018 14:25:42 -0800 Message-Id: <20180221222543.13633-2-labbott@redhat.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180221222543.13633-1-labbott@redhat.com> References: <20180221222543.13633-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 --- v2: No changes --- 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__); } }