From patchwork Tue Oct 16 21:47:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marcin_=C5=9Alusarz?= X-Patchwork-Id: 1602591 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 52264DFFED for ; Tue, 16 Oct 2012 21:47:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 376869E827 for ; Tue, 16 Oct 2012 14:47:25 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 0A6429E745 for ; Tue, 16 Oct 2012 14:47:13 -0700 (PDT) Received: by mail-wi0-f177.google.com with SMTP id hj13so344749wib.12 for ; Tue, 16 Oct 2012 14:47:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=DlEuof5uShl1h0S2SDE0N4sjfwR2xIHD5sSONx8brl4=; b=d3SZBcD4/y+/SP7MHzP5rhvtPYBIQPhSXMEc5m9Wn6mpMvtIq25uZHOIIAO5yc/p59 OXmZ/lNlS5Q91aGbQbHJ8RFFFbHjkis5INqH3VBSyOKKjrgv8SErLfIiu3FCbytPoeGn UdEEjsJoguaG6GkPhdHjHmJPPsECGj2NGuBv/C3Bx790m1ON++5iBkE3ccplmLCJ/lgj jN5qgFhcvuFA3gHW2JBrBD3EqL5cQl7BTG+fI/TxIpSMkiD1n9tqCH6RpR/tY5UNQ/Jf RV5efqLy6lxH0viDXTZUwanz1ofA+52RUN4XgpbrsuGlcjlhwYXpi/D1LbKkdxYWzkOB yd9A== Received: by 10.180.96.129 with SMTP id ds1mr34524262wib.17.1350424033045; Tue, 16 Oct 2012 14:47:13 -0700 (PDT) Received: from joi.lan (cjh177.neoplus.adsl.tpnet.pl. [83.31.57.177]) by mx.google.com with ESMTPS id q7sm23980575wiy.11.2012.10.16.14.47.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Oct 2012 14:47:12 -0700 (PDT) Date: Tue, 16 Oct 2012 23:47:35 +0200 From: Marcin Slusarz To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/debugfs: remove redundant info from gem_names Message-ID: <20121016214735.GE21336@joi.lan> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Ben Gamari X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org It's a relic of "drm: Convert proc files to seq_file and introduce debugfs", which wrongly converted DRM_INFO + sprintf to 2 seq_printfs. Signed-off-by: Marcin Slusarz Cc: Ben Gamari Cc: Eric Anholt --- drivers/gpu/drm/drm_info.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/drm_info.c b/drivers/gpu/drm/drm_info.c index 8928edb..d498ec7 100644 --- a/drivers/gpu/drm/drm_info.c +++ b/drivers/gpu/drm/drm_info.c @@ -204,8 +204,6 @@ static int drm_gem_one_name_info(int id, void *ptr, void *data) struct drm_gem_object *obj = ptr; struct seq_file *m = data; - seq_printf(m, "name %d size %zd\n", obj->name, obj->size); - seq_printf(m, "%6d %8zd %7d %8d\n", obj->name, obj->size, atomic_read(&obj->handle_count),