Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2977364rdb; Tue, 13 Feb 2024 03:15:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUw/jfcySi9PoJqt1p49iQiOyj6938s/sILmUK43w6GLNu8SyGUVnSHKe7b87iVAxDCBeKBM95zntKtjiQw4s/+6vcvJeIFMDdTgDuiWQ== X-Google-Smtp-Source: AGHT+IEHSWz/T3AKQXjMQTvyGEQdllz0u852c7taCgoanVf1KEm1yNN+LfTSHMPhrnC7mHll08zl X-Received: by 2002:a05:6402:3451:b0:561:2fd1:99e5 with SMTP id l17-20020a056402345100b005612fd199e5mr5916327edc.27.1707822921958; Tue, 13 Feb 2024 03:15:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707822921; cv=pass; d=google.com; s=arc-20160816; b=DI4emcJXf0trr7jTXWolrLpMspXmf+A9HkUITyiTj0E++1nefm4yCwRFb9s5WFVPY0 EkdX8WQXFfmL0wGt1nGrAVoEZGFjg8hw3uktooBEk6q0GN6sYyt6/fdrQyCleFNxDixk wRqbzvUIlCb/RmFVf+E5YSoZvmGzTbGm6IuqbjE6EhH4Dq6WUptg6huEv6PI7uoLazit 5P3W32X4Lj3YT5o+FNxa/k9OE8IcTs07OOkI2uo9PCbQmunfKDJlPHebNjefENQ66bA8 W/glKAh+csoq7YLSL+xuZ2KdrNIZ3apwflATBlQENqOMqH1aH9vh0o9s2wW4uCs+XEya eo0A== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=YGa1yQ1wxMXITBdV9tGnNNbH7E/yR4j+RVu7JdYpq4g=; fh=I6vjzZYVOn/jNkn/NUoznhV3DQ1UDQGoue1l9a3NUWY=; b=U+DTfEvWmrIXHMDSnE3xdg0OXAGQ/lzdbWaa7OI9WAYnABfaTWOEvMyQHxswTfmayj 1TknL62GDbisuBIeHKatWfPCt7rq/4k3TTABXzgJkEEjKLpg7PUOylDB4v4Khe6696G8 NE9+/pxh6U6CDg7TI6xaioKz7zX41/kFeMwsjIB6rAvhwY2TIF/4tjH0VuA+0TXNxSvg Sy1HG2FYkeFaRNr8Bs4V0bhD9X+XyYy8KjRjiQ3FR9Hs4gQBZ+tnsr6anCA+9HEnOHD1 17iB72nM/GDXXqoun9ww+vH49CG9b0gzAdbpKNAfMqYeP/AgQq1xim4eOIp6xNYvpf9b kXrw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PltzndGW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63406-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63406-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXFL5kXkz1cKSM9K04ggJpuG8My5ZDGtSmWFW4qljTrV3UueQ2HkQP4nOPKLTs5s/KKdwa/I6U5foHdU4jvqd5Heu3ZNmIUiF1z3EghQw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n1-20020a056402514100b0055a61376aeesi3581900edd.240.2024.02.13.03.15.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:15:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63406-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=PltzndGW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63406-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63406-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 8506C1F26F6C for ; Tue, 13 Feb 2024 11:15:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DCF0D33CFC; Tue, 13 Feb 2024 11:15:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PltzndGW" 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 163162C697 for ; Tue, 13 Feb 2024 11:15:14 +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=1707822915; cv=none; b=WXU8iAKxdjB+HCk9LxWgpYFT+clO6OQtrvtfZ51BKO7RL8vdkJWdYZ+iq+g9Lzu6IihC2kESmxNu/yW0M3qD8ZaHvZ4Z1313LOLlYKuydMmrxJWNHQFgp++YWqFdD1GwUYKlpCfC5dhvQZeK4IgZOPywnopxkQTujqvWR3SPJTc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707822915; c=relaxed/simple; bh=APFYotw86p62/fng4yVxpcCYH9lo/o/Vcj6fOv/RC1A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gBIlIGJ8lHdkeNSMYIx1pDL01DC/zKdkns3UwLDutAoQEIep3Ma45JTap1OV/eQsO6FSCgsh6JtAG0X2BeH29ZJ1QzuSsT3UDH8SApbrba0mtWig3toE1iwaa2vkmD+F7uA8V9cOqkhjoF+lhk6zk9dIdO3w0A7e4+6yPu3c0pM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PltzndGW; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E826C433F1; Tue, 13 Feb 2024 11:15:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707822914; bh=APFYotw86p62/fng4yVxpcCYH9lo/o/Vcj6fOv/RC1A=; h=From:To:Cc:Subject:Date:From; b=PltzndGWBmDv79/xBrq7AJdgFkZVFxH4Z7szGa1fV9ivAucdRuutHaGUAmMbNdof0 hTslWXhiMAUBoDqPxv9tRx9LoEYjG80z2S03ce1B3dJkmYpDyQzSmAhtkqTcTWZG2m /Sq2wGU72W5seadfu8veobnkvhVUi5stEviuesGw6p7bsMr1LK546aF0OzHCULWolj cDPGehGbrTcMivrgAAtuBMa4ibhwstKGXZAmr51g9aYcYYpRhP9y7wLAaWz4hd2XwD BmYb/bSV+32WkP0LxQboQ6N24ox+m+Uoij43J7hJsbUtdpLKEk+zy9CdKPMH3eLwCT 1FpLSK85fkOrw== From: "Jiri Slaby (SUSE)" To: airlied@redhat.com Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , dri-devel@lists.freedesktop.org Subject: [PATCH] char/agp: remove agp_bridge_data::type Date: Tue, 13 Feb 2024 12:15:11 +0100 Message-ID: <20240213111511.25187-1-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit agp_bridge_data::type is unused (and I cannot find when was used last). Therefore, remove it. Found by https://github.com/jirislaby/clang-struct. Signed-off-by: Jiri Slaby (SUSE) Cc: David Airlie Cc: dri-devel@lists.freedesktop.org --- drivers/char/agp/agp.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h index 5c36ab85f80b..67d7be800a7c 100644 --- a/drivers/char/agp/agp.h +++ b/drivers/char/agp/agp.h @@ -138,7 +138,6 @@ struct agp_bridge_data { unsigned long gart_bus_addr; unsigned long gatt_bus_addr; u32 mode; - enum chipset_type type; unsigned long *key_list; atomic_t current_memory_agp; atomic_t agp_in_use; -- 2.43.1