From patchwork Wed Nov 7 14:44:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Engestrom X-Patchwork-Id: 10672455 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2B08013BF for ; Wed, 7 Nov 2018 14:44:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0FE372C359 for ; Wed, 7 Nov 2018 14:44:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E14C2C358; Wed, 7 Nov 2018 14:44:52 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 BF6AD2C35C for ; Wed, 7 Nov 2018 14:44:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5E05D6E168; Wed, 7 Nov 2018 14:44:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id CE30D6E172 for ; Wed, 7 Nov 2018 14:44:48 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Nov 2018 06:44:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,475,1534834800"; d="scan'208";a="104212171" Received: from hhalland-mobl1.ger.corp.intel.com (HELO eengestr-dev.ger.corp.intel.com) ([10.252.9.70]) by fmsmga004.fm.intel.com with ESMTP; 07 Nov 2018 06:44:47 -0800 From: Eric Engestrom To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm] xf86drmHash: remove unused loop variable Date: Wed, 7 Nov 2018 14:44:42 +0000 Message-Id: <20181107144442.31025-1-eric.engestrom@intel.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Organization: Intel Corp UK 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: Jan Vesely , Rob Clark Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Reported-by: Jan Vesely Signed-off-by: Eric Engestrom Reviewed-by: Jan Vesely Reviewed-by: Emil Velikov --- xf86drmHash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xf86drmHash.c b/xf86drmHash.c index 891b732632c36d373ac9..2cf2b80ed9e02310f0ff 100644 --- a/xf86drmHash.c +++ b/xf86drmHash.c @@ -105,7 +105,6 @@ static unsigned long HashHash(unsigned long key) drm_public void *drmHashCreate(void) { HashTablePtr table; - int i; table = drmMalloc(sizeof(*table)); if (!table) return NULL;