Message ID | 20240216065326.6910-11-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68124-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp338562dyb; Thu, 15 Feb 2024 22:55:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUGoqILxgaAYJFfGxFnvYrziZxPV8jtCSMGn6UfR9VINF+puopCsgtNxovWTS20ySrKe6UR+hUaz/2/ULPPBaO8TmJ51Q== X-Google-Smtp-Source: AGHT+IHcnUAo14M8B3UkaQi2Fb3YqwFLhYxAsD0IQf9WOhMa9CWlJSF6cxBcMjiiOEw0KBLcCckg X-Received: by 2002:a5b:ed0:0:b0:dbd:120e:f337 with SMTP id a16-20020a5b0ed0000000b00dbd120ef337mr3979109ybs.30.1708066546822; Thu, 15 Feb 2024 22:55:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066546; cv=pass; d=google.com; s=arc-20160816; b=P4EK0aYzZhzG2yZLyEsMZXfqEf84v9vsp7EqXPTt7/p42eVg7y2FoDxnjdAEq51CJd 162EBPdzlcbr95g2WM2YqY1g7W3iB/oFU5wMdQwWaYuIdfn5ZZejuuAl3/xAafIFx/Yt /6o3aaVRKItUN9n8OmszImL6gWGfRqQ/7Ou4DGBbFt6geQLfb/9g6zFbPJEyk9N/Ef1J cbJL2TFOn7KuWoU3a5bxjrFQU/8UoP9JyuUB8f5xkQZ3aA/63Hnkkk1EvWlJpPs3s/OQ jjSkBdLNNGs2syLhDs/g4/cQkq9wGICGno4ChUrSGY0H980M3sW2bXWZemc9YScwYVm+ Pk5Q== 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=u4EKpPOsZnf0MN4NTe/sZPZtJ4x/aHR1odvTBsoeXzA=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=cX5MUVIQyXxs0+ix1y60Z3VaUHqOSj+Sr06re0C5h5koV7djcdOpGGsERF47B6ya21 6AfZc2gD0kFoVGomd/U7AVX7tXtx6tb+uixaV3k/+M5EualFGvN8CucZ7yUhYVj/9UtD bYkjBf/yIlC+EAAoqL/F98D8khi3xF3G9N3Gib7cg9CbyhBxc+TgnBezNuKsufgu2zuE DnU6QVydHoojmBrVx+w4CcpA/5rHSJRx6DuQigTS4FMpo1TxgYcxdrS44pqpLyAq3ukf 7jVs56YpGUpA1Qu++r6kWbMTy2Bj62axJc0s3+UUAL4qzoUHFnRLQvuH0CLopLf7ruED /89A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="aDyJ4V/b"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68124-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68124-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i24-20020ac860d8000000b00429d470ea36si2958153qtm.592.2024.02.15.22.55.46 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:55:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68124-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="aDyJ4V/b"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68124-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68124-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 98A0B1C2114E for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:55:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1EF7A1CA8D; Fri, 16 Feb 2024 06:54:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aDyJ4V/b" 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 8132B1C69F for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:54:03 +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=1708066443; cv=none; b=F7Ff8jtqG7+bcKetFBJGSBbSEKpEuXF+55zQ+8+0NGnIqV4VQ/xCDXP1WCew52KbiJUTdBlYj2iJsIdksctdXdbnzzCjhdhzjRPzPD7YdYjeEjmpg9jguMaz6UTgVliWHiO0RjXBlLWpoafo+c/DNLVSKE6sWNgzvxHoeaRbxWQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066443; c=relaxed/simple; bh=YgYjxfvUqDqcc0kdOcmV9/pe6rLivB5Hnys3gp0apvU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=f9eNsRpCdj+VNLAka7dtz1KKC6Wf/9ECCzdZVc6pK6QOHGVKG6NN988DSnFFLa7CENvgosTRi8Dbg74v+qUWNqM+N8yYvwxCZ125FS/47HqIHk8MEXdHDRFwQlX4HzFKuT8lILrcy7Kr9TRRjs6IW10bp02rPknJvD23wtK+IGA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aDyJ4V/b; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1EE4C433C7; Fri, 16 Feb 2024 06:54:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066443; bh=YgYjxfvUqDqcc0kdOcmV9/pe6rLivB5Hnys3gp0apvU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aDyJ4V/bLN4EkcMd8v47X1GZjrkbl4ceRUkFCXyjR/WHxHtMAmW8xc4cPK1n/BSCo fIqVQrxaOyozPq9h7b1vzKQQNuzbvdTG/id6nXhT1vKErrtpsVvEKjYXDbf6VDNn59 OUGefLN2cjl1iN4ua9iqNJRgS3HobVWSRtRjrptOwzu+x2vuqmy1q/GRh4Atk9NWv0 k0/BprtQj2kLdq/6ZlLApcfoUL2yO296nyzeV6sh0ZxRc2fU3sFg9MdVcjeO7zZFxt HVsj9AYDjTopKUxsbUHn34LtHeJkLAN2t1F7Gd0sF09/b6MfOPH0WrZPdJ7QxTRiqr 1rLk1LQoXhfbg== 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 10/21] drm/i915: remove i915_perf_stream::size_exponent Date: Fri, 16 Feb 2024 07:53:15 +0100 Message-ID: <20240216065326.6910-11-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: 1791037587399285657 X-GMAIL-MSGID: 1791037587399285657 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
i915_perf_stream::size_exponent was never used since its addition in
commit a37f08a882b0 (drm/i915/perf: Refactor oa object to better manage
resources). 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/i915_perf_types.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_perf_types.h b/drivers/gpu/drm/i915/i915_perf_types.h index 46445248d193..39fb6ce4a7ef 100644 --- a/drivers/gpu/drm/i915/i915_perf_types.h +++ b/drivers/gpu/drm/i915/i915_perf_types.h @@ -288,7 +288,6 @@ struct i915_perf_stream { struct i915_vma *vma; u8 *vaddr; u32 last_ctx_id; - int size_exponent; /** * @oa_buffer.ptr_lock: Locks reads and writes to all