Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp928960rdb; Thu, 15 Feb 2024 22:57:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWHMd79vIVxbdttR89gA3GigENSYI6YFRcPbqQZkfuO2CxUtEhJBTDJGegi+8mZWQTl7uIU6teWDqbFlmVNSbfjOxJ9vLnny2he/YceVw== X-Google-Smtp-Source: AGHT+IF/61sHRkSJ1ZcHO+0k8ebEvXqE4k+6ot95tl7m5kAT+IMoI7KRK+IYtrEz+czpZu9W7scG X-Received: by 2002:aa7:c603:0:b0:560:fd6c:e52d with SMTP id h3-20020aa7c603000000b00560fd6ce52dmr2808884edq.11.1708066661011; Thu, 15 Feb 2024 22:57:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066661; cv=pass; d=google.com; s=arc-20160816; b=NG7WPid+pwRMcPXknGybX+xSl0zfSn24iwP8B9PsXeQztFjaA8tq9pZa/KVk1gs8Lw nuukaXDVz5GC00lHIyXc07nHqH+xFlQ7kkGuL2RecnVeKtBK0Dzx35hd5micWsPllnYF Oo9JZLiQuHQr9zweY4X8dvreMDKPHh+WnOKR1xBs0FpbEdkPaK7QIR3JxvIERaKm7giT QWTVWvdXgenVSYjIJD8w7VQ25FTCA8pe9OfU2CcnuUVPKpUXd3BHnH3MURuuMHKvgdTe AaqjYL6fd+gZ7jXmNTwuGF+/HNwweAwdF2+fI2yCIsfKDljBfwev8I98EVKCDja8+0R9 ZKpQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eKWvJkvOVYp1WZAwRnItZuT5FXBB6hFy9j/VCE7H0V8=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=vZqo+rNoL221/QGDp5SeaQWm0J9O0RXe0TxhukVsCXVVhFFPoXH4T5PRub0Nxy9MhX Ii27H+4JcJk5rqkhQdVeMD2hyaxDPWfVVtWAxK4GNsQYxp7Yo/j4mfSUi7ag5m6rr4Cg QkDBTgphzz9GOjS0GixsvH1BIRafjGL0zKg+of7dmvTQf5FvvDYBMCeaIX59Rccvr23l xRfes8VUmEdYaxwLllbZz61GHqICdQRoJ/iF4qLrRNuQsOnUigT+TIS6stdOdsZe0LbF kzxLBYDbIHt3dhvCIBe6xvP31BinSghAwblEMhXxs7wwv+NeEm2wZ3urN+Enzn8870bJ +sdQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bvbK5G7W; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bx22-20020a0564020b5600b00563e69c46cdsi432792edb.450.2024.02.15.22.57.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:57:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bvbK5G7W; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B8EAD1F22CD8 for ; Fri, 16 Feb 2024 06:57:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12CEE20B3E; Fri, 16 Feb 2024 06:54:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bvbK5G7W" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12C8920B0E for ; Fri, 16 Feb 2024 06:54:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066476; cv=none; b=FQ14NwA1R52r4zKbEa6lhG1qNtSjtV6Sd3lyoCsrsKGv4W+VUnl4nXdao9NNIM+RNg5n5e+601aoXabvgE3ln1kQeG6pqUOTA9FkHZZ3WfFaShkBCP4dJNaFWaDvWLnQfkILeDNap0kxuViz6ltWxL+kdMrgNoUwdc35UgbSILI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066476; c=relaxed/simple; bh=xZUGSW7pkokV4zLjCnd/mTKR/eQZWFNFZ3+e+td1jik=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=n7m1Yu4Qf4Iw6UiEQzjyTI2lYcza338ZyoMtRDVJs1c1JpHJHMOMfZ8CwyQx3jjm643Wl98AsabCEOnDTWkz95KbP84csSCJ6IZNACkGCmwSNU/TyiyN0oMPDVlirgRRgqV6WZNJJfS0XNcDJNhgJPknbRmQdPT9SvLNizLo+2I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bvbK5G7W; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0B28C43390; Fri, 16 Feb 2024 06:54:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066475; bh=xZUGSW7pkokV4zLjCnd/mTKR/eQZWFNFZ3+e+td1jik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bvbK5G7WtJpIv0+P1LBfllzinl78UnS7HDCkgrkAygGGKuAR/29I82hegp9YHjajH Cv8tWzg5QpvUoZnq320Qk1pz2MrsXgsvoJ6I/Nfb3jIhVUdhbHuAyU0rYcZVokHmUU bsrcuCtwJbUabfZDKwDbYAgHHcBciD58mAuwUrhP8ZefsvoBmecQzDzFP4YY+pUlmo kNHUDzI4my+B9ziMkXSVZB/xu5UJ9g9w+omKiX7cqFuy4EKX5iuMu3DKTMg1x3dMBe SV0Qxg64gnQKK0SqxBKXQg26s3ZetKrwOMWRHEeQCrpvyNHYAg8EHb6fFaTQ3G1lmb pG3wpv4WdY1rw== From: "Jiri Slaby (SUSE)" To: jani.nikula@linux.intel.com Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , intel-gfx@lists.freedesktop.org Subject: [PATCH 20/21] drm/i915: remove i915_vma::obj_hash Date: Fri, 16 Feb 2024 07:53:25 +0100 Message-ID: <20240216065326.6910-21-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240216065326.6910-1-jirislaby@kernel.org> References: <20240216065326.6910-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit i915_vma::obj_hash was never used since its addition in commit 4ff4b44cbb70 (drm/i915: Store a direct lookup from object handle to vma). Drop it. Found by https://github.com/jirislaby/clang-struct. Signed-off-by: Jiri Slaby (SUSE) Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: intel-gfx@lists.freedesktop.org --- drivers/gpu/drm/i915/i915_vma_types.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_vma_types.h b/drivers/gpu/drm/i915/i915_vma_types.h index 64472b7f0e77..559de74d0b11 100644 --- a/drivers/gpu/drm/i915/i915_vma_types.h +++ b/drivers/gpu/drm/i915/i915_vma_types.h @@ -290,7 +290,6 @@ struct i915_vma { struct list_head obj_link; /* Link in the object's VMA list */ struct rb_node obj_node; - struct hlist_node obj_hash; /** This vma's place in the eviction list */ struct list_head evict_link; -- 2.43.1