Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp929008rdb; Thu, 15 Feb 2024 22:57:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWQ/LLKdFhOujvhk3vFgbi1mF1EGYJaJ5FEvYiA/JomwU/2VBY376hkfzrkjnqQoEsze2DrAh+pNXJusSCoNtol9QOZGkxOOu0NDH7ssQ== X-Google-Smtp-Source: AGHT+IH7hWUQLpskMcThglG/FRB9HDyQBbQmwuNoB9rRnEArHd/xJMZ0ICZ4xzGdb+eCiImX08qs X-Received: by 2002:aa7:d7c3:0:b0:55f:99:c895 with SMTP id e3-20020aa7d7c3000000b0055f0099c895mr2614952eds.20.1708066672933; Thu, 15 Feb 2024 22:57:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066672; cv=pass; d=google.com; s=arc-20160816; b=xYeat2zSSjKxluuIatFzVy32NMlWxMqm1UpXlLx8HI7kdCdVhhfwYz0ojAVHqaxfem Lz/aL9doKC2IAq3g7prJo+wAyijykuuO/wGTIDd2yR4LfYDN3bXX+/fjs+98H89+5AFT hOIDRh5P21M3YBCzLisewWIUgLEFkwgHueaQ233jPjgrF7d/5OgK30u+EINPGdUXi8NG 98pFK2JiKlMiWqmUCqO5IoxO5v8KkL4aKONJjqc86Pga4lPyT2EWTCvHjo2weAHFHoWm 7KuE2h/ffie9AZ1Tbi03Y9MpXEcIjc+PgZM827cRNW4n9nkdDMs4YC6g9QKJobfhylSB HnRg== 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=D2G6HaOAQd/9QYkMmOss4Y++jwv013h/wOEW/6Wbqww=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=dSzkhZ2+TnkNFJSz7S23ocWaJpKEkPRIP9DQZCJyBtomC/lJcgQOUA2PmAGmNaS7J6 H+Cn6mF7IgpUEeBltWCweS0OBbkEyP8jVIbB/8qONR5gI6qcVYnkTc0OaWSsi61yd2m8 Dn+eoreb82aigZsbTxEK1zUtsK+2YkxDAE7gfNq9TwNczHpy3b4aCsqYbbu4qzWb2jEq wwzu+EctVItfyswmJ4gnHWglQpfRN4qFgUvIkPAc68Xe2z6IM8OioxLnSc0PW2jB0XUB wt8iQshgobYEArpbBTI/NCg5NG99upVjRyEOzshMlYlHHng8dtwB550CZlAkNUrbxPhs Z4mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KkCk/EdX"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68135-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68135-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.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:57:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68135-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="KkCk/EdX"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68135-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68135-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 AC9811F22AE1 for ; Fri, 16 Feb 2024 06:57:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1FC70210E6; Fri, 16 Feb 2024 06:54:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KkCk/EdX" 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 4C01B20DE5 for ; Fri, 16 Feb 2024 06:54:39 +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=1708066479; cv=none; b=Y4LRoUpVV1/BxCuDUWKr1xgsAj6ZCw2ZqSnHq1ynblpyocPcSFDdSXDJQi1quGank10wgNAD7GoJ2vDlYk7Kkb6K2Xn8jz+u+xf74ecxnT22u8KcGbJae6HZdwHNw8uI1VuxliVOV5E7PWG8vJNwyrpyr5pNZ8G5UTtGcWDo2tI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066479; c=relaxed/simple; bh=Jq2+MsKda76OUscmqQ543pe72ImY+6RM/tfDpkyIMK8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cupkLw8ETIeRO/s01IZODzDHVc8lCCMBaLRmJHgmhwObW+muDKO4SZ2YqFdBGO+vPoIxb45aPkdvSRHiMj1ZAfWG0KR8HwX6hxdyQe6rEp5mgIvLdaAIbqB5jMYr181Hv3HPZBKSF6CYo7+8VpwYfzEH+pzwOSKQx+atyPdjZ/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KkCk/EdX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57635C433F1; Fri, 16 Feb 2024 06:54:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066479; bh=Jq2+MsKda76OUscmqQ543pe72ImY+6RM/tfDpkyIMK8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KkCk/EdXUalSl8XNMQmbSKUjLRJjlybaY/6DisldmRz2BqNd/KYBYSArzer+GxFYD gNFrHIYOIOhy6Gut4k1WJb7w0/8JVT8GsaoTmyF2Whf7YgHTxpsDuamgEwPaiEWNYj pfpbk5AF/DejlPXJWyYzgw+lt0kqZkb1gIhAx2Kp+CBF7wmSLZbSAnmAMyqcdHhHRy QK5Fwg0R+6vuD/uj+IoEvpJ9ZdsO/MRaUmNVQ63cE1V6O43+DQ7/93WqbppPszqVdf +PQbtvX9kacjomPPNYXau7JpYJ03BnzzfaZSVg4tP9sf4UyIbmOWn50SFraGbN8aXQ D5KLtC6WYJ4Aw== 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 21/21] drm/i915: remove intel_memory_region_ops::flags Date: Fri, 16 Feb 2024 07:53:26 +0100 Message-ID: <20240216065326.6910-22-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 intel_memory_region_ops::flags was never used since its addition in commit 232a6ebae419 (drm/i915: introduce intel_memory_region). 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/intel_memory_region.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_memory_region.h b/drivers/gpu/drm/i915/intel_memory_region.h index 40810cfb3fd9..8c927e303c4a 100644 --- a/drivers/gpu/drm/i915/intel_memory_region.h +++ b/drivers/gpu/drm/i915/intel_memory_region.h @@ -50,8 +50,6 @@ enum intel_region_id { for_each_if((mr) = (i915)->mm.regions[id]) struct intel_memory_region_ops { - unsigned int flags; - int (*init)(struct intel_memory_region *mem); int (*release)(struct intel_memory_region *mem); -- 2.43.1