From patchwork Tue Apr 8 20:49:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 3950991 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C2EB49F499 for ; Tue, 8 Apr 2014 20:50:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B6DB2049E for ; Tue, 8 Apr 2014 20:50:41 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 3C73520483 for ; Tue, 8 Apr 2014 20:50:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A76D6E866; Tue, 8 Apr 2014 13:50:39 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-bk0-f45.google.com (mail-bk0-f45.google.com [209.85.214.45]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A2446E880 for ; Tue, 8 Apr 2014 13:50:37 -0700 (PDT) Received: by mail-bk0-f45.google.com with SMTP id na10so1281541bkb.18 for ; Tue, 08 Apr 2014 13:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=BmJhzimysvV4X4pYNOfxGduglghKUh/bgmyGkYzaR0E=; b=yODdo7t4raNJBz1ot44HmqDmESxDUVG7LCSKN76Y7iJhH9Oq8QTsutCUtUnlgHTDRM tNAuERpO7jB47jDsSF2nZjC9UWaIv/PlbKXcoJ0KDp7hQYHTrEIR2PmESpjM+DNGTRIh 3gXsRp/DfWtORePsMdlup2ldcf7f7iBlZ26FmcwbkN/gsAoqkBnmcmB+gkR3ovvcQIpb RDyER/z/ZUWa6uVTza/uDtpAgIWzgFTTxD+Jr7NYUv7XXjsZx1OofgLmNfLq8yogh8uE IwtuUlgPsltbTs33L8PYakmK18Z1OYy6qTiniufqWaYMIQrectCTJeWat4n7itHJZx3O +4/Q== X-Received: by 10.204.61.136 with SMTP id t8mr5188569bkh.22.1396990236280; Tue, 08 Apr 2014 13:50:36 -0700 (PDT) Received: from localhost (port-92459.pppoe.wtnet.de. [84.46.73.165]) by mx.google.com with ESMTPSA id el11sm3728863bkb.8.2014.04.08.13.50.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Apr 2014 13:50:35 -0700 (PDT) From: Thierry Reding To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 3/4] libdrm: Remove extraneous parameter Date: Tue, 8 Apr 2014 22:49:37 +0200 Message-Id: <1396990178-32470-4-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1396990178-32470-1-git-send-email-thierry.reding@gmail.com> References: <1396990178-32470-1-git-send-email-thierry.reding@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding The debug message's format string doesn't contain any conversion specifiers, therefore making the fd argument unused. Signed-off-by: Thierry Reding --- xf86drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xf86drm.c b/xf86drm.c index fa5701abae51..e94f2cd00c11 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -503,7 +503,7 @@ static int drmOpenByBusid(const char *busid) sv.drm_di_minor = 1; sv.drm_dd_major = -1; /* Don't care */ sv.drm_dd_minor = -1; /* Don't care */ - drmMsg("drmOpenByBusid: Interface 1.4 failed, trying 1.1\n",fd); + drmMsg("drmOpenByBusid: Interface 1.4 failed, trying 1.1\n"); drmSetInterfaceVersion(fd, &sv); } buf = drmGetBusid(fd);