Message ID | 20240216065326.6910-22-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68135-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp339255dyb; Thu, 15 Feb 2024 22:58:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVEorXo/jrT6KymrrHUK8YX90UHPKe031gc8PXc2kD0qoUsSp0asFgsfqzSlgnGu+VRcU3r1NMnO0azYhiivMjO2wAR9Q== X-Google-Smtp-Source: AGHT+IEAzDUBcAG1reSt7iX2qkKmc68TWUyjTkhnuZ5U4bbmJfVdanG8s1aMfu1MWjyCqiM+R+2A X-Received: by 2002:a05:6358:5927:b0:17a:a774:93a3 with SMTP id g39-20020a056358592700b0017aa77493a3mr2920148rwf.15.1708066690620; Thu, 15 Feb 2024 22:58:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066690; cv=pass; d=google.com; s=arc-20160816; b=k9O5XZUXbBd1s/RMolELw0BOBvcuToJUSlDM0o+p8o27mnxuUgV6OQM/A4/fcbSiN9 vfimRs4cEZHzqVS+jsC3Ca546funfRWzyd3eBeY524pRYT5nEQkz02gYBmLBcBrCMQJh saKrnBDly3sbjmlcDMQvPcbA9v4cFhsyzAJpXBYJPIrDb6Lt39ZOvjKMjnDTdqsHNzWt 8KQ4+FUMrHbkhYcXn+6uGnsipC4K8qfIKi9qFaZSKV748QH4xgktItBL9koyL77hk1U9 D002XPG0dRee2OSf9RTXoA6sOkF/dntplgpTB/lfy/OIS4n1QVSatRkBOU3dPxuGNBP0 2usA== 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-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68135-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e15-20020aa7824f000000b006e03a9f39fdsi2459045pfn.190.2024.02.15.22.58.10 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:58:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68135-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; 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-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68135-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 55B18282438 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:57:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E71652137E; Fri, 16 Feb 2024 06:54:41 +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 <linux-kernel@vger.kernel.org>; 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)" <jirislaby@kernel.org> To: jani.nikula@linux.intel.com Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" <jirislaby@kernel.org>, Joonas Lahtinen <joonas.lahtinen@linux.intel.com>, Rodrigo Vivi <rodrigo.vivi@intel.com>, Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>, 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791037738578895996 X-GMAIL-MSGID: 1791037738578895996 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
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) <jirislaby@kernel.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
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);