Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1252818lqo; Fri, 17 May 2024 16:37:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVRbdAQiGa6fRVMeS2Ag0eWIY3OCFg+OgpAx0gR+Z1KYqz43xyHtp/l+TcEwVArfRXnBLOdaBvG5fVIKGEk/dS3eRwaYaHCd3Gj4poQ5g== X-Google-Smtp-Source: AGHT+IG/rJcj3cgdZHi6+ulXqxoeDnw9aITobwJUBqsPGLO0Wqv1VH2A+frQqYQd4A+c7/sRJyts X-Received: by 2002:a05:6a21:6da1:b0:1af:acb1:84bb with SMTP id adf61e73a8af0-1afde09ec5dmr25766590637.4.1715989063817; Fri, 17 May 2024 16:37:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715989063; cv=pass; d=google.com; s=arc-20160816; b=kjYeEy3KRgyWjbxsY4cD6z2Ko504JDr9CLBqgNnZeebAHESifQT1oyfgma38at8dFx 2Rkdbzrocrlb8+gy/yl6XR8UpLVXsWHlE79y70OM6eYp4cDdXaVz/K770mZs6+Hdr4a1 qw6+K89+qAwqBtSrMxMdSRKnDzZJ/2Z5vr5WDZGqSJCXaNMv0X0sH4/mrWeQDoaV0jxE OckGS4Qm2JzR1uCBDBSp/oom6REC8VwYaphmfCoGDJTyU2l94xFsgZu7bVutKiJA53I/ yF4Btk+VjwF/By8Lfq2VWrhvuY1b1p6IHeIpgZzf4+mfgTM4yV/w9W2HiHGxlpJqVltE yBvQ== 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=Q0VyvDtbmcL1dq3FHqWs/cX5D8LXTUaBhnMmbxFsZGQ=; fh=1rtTd8k4wEjMUYhp5hp/6O5vx/tG9jnc6w4g0jyGzBI=; b=Q1EHNSdHvIrl0iv0TsbQYcwCiSTAsCebAge34tvDOp8vBBZVJ2Xiq9PJoSMZKgfxMd PmG5J/FON68IdVSUVQIY6BIQjEMdsCliexnHsgbgRUFPmAD9wyu7FC3GVqa0k88pFPXb a7bPyTxpKup6IdF0Q6whGw788VsbPReEFvJxTS9AgWpJc4yovH0yPsddwLbEU7cVa1XT 0SXtzVY09CPuQWIVtnD42KskSDR9v1PTeCasI/WNSYu2N6FvvPcJQtPDKEhnMN/3CycG Nl6kkE4NQV5KN3W6r9cyqvHDWKUJWRI8UqDIucgWdgVPKoO6Aiz8BrcCfv8gki2HdIbA xsjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=IZyO9295; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-182696-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182696-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-658a0fbed2esi4816649a12.732.2024.05.17.16.37.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 16:37:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182696-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=IZyO9295; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-182696-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182696-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CA426B20E22 for ; Fri, 17 May 2024 23:36:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 18BB01422B8; Fri, 17 May 2024 23:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="IZyO9295" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 C62041420CC for ; Fri, 17 May 2024 23:36:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715988963; cv=none; b=a0sNdumiCxSKld3lWXLuCSdioeu8r932hkFLQ7BI2DPkcGweRsq3GDFGDR/cnumtxt2W5q2RTacs/XtH0P8xPJc3UHEffN8nlfnTAQvv/HC7BrgRJb+FzQMDDEb3G5LZ9WDnrAjpEwjzOESnsgI+LmRKORFzDEokMCrtQQeEv5E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715988963; c=relaxed/simple; bh=yNmYfehsDscMLd8Z5ogmfJm0uyJ4vfmW8qoucZQ9LVA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SBYGscmj8zErwvMot1mdCTOdJaQ9Xf2oNpjLx/w8omHgp/81XlEs9LmdC6Sjn48p0AQWxJs2MtLZg90dk1pXSICZhhfobmGSAEw5xDobTaBp9TJLYwSBHRYmTum+os8Z0yq1WVULVR8IqIOy1oYj02bTn9Pdr4f8gOM0dOJ0YDY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=IZyO9295; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=Q0VyvDtbmcL1dq3FHqWs/cX5D8LXTUaBhnMmbxFsZGQ=; b=IZyO9295QgLrX89a LkBO3bbxouDubvSE81EJbpSQ5eWvpbci6iHZro92ANhX5cJozO6QbHKsfh6spD0R3BqSQzTz218XT CKG4+FNUvQF47qUiU5LhLxWrmb7BMbS3NnqCtfkg2563YSzunj64b4Xv2ogeR/9t+7WYW9Rj4QBAu qkdvhV0mXaJd/VDIcCTpzSJ2lLCBKdhqbvqNtFoflfKBZoZPGumu8upf+q+Tjs74wokE5SzFKYc2Y AT7gVm9SORrPbYlIejog1BfPgLut4zI818ZRw7pLgBC39phnXSrxSAOJr/DtJ800BzO3mtuqyqROB 06pHCpou+Fz+vf6gtA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s877F-001TpV-0n; Fri, 17 May 2024 23:35:57 +0000 From: linux@treblig.org To: alexander.deucher@amd.com, christian.koenig@amd.com Cc: airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 3/3] drm/amd/display: remove unused struct 'dc_reg_sequence' Date: Sat, 18 May 2024 00:35:48 +0100 Message-ID: <20240517233548.231120-4-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240517233548.231120-1-linux@treblig.org> References: <20240517233548.231120-1-linux@treblig.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 From: "Dr. David Alan Gilbert" 'dc_reg_sequence' was added in commit 44788bbc309b ("drm/amd/display: refactor reg_update") but isn't actually used. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/amd/display/dc/dc_helper.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc_helper.c b/drivers/gpu/drm/amd/display/dc/dc_helper.c index 8f9a67825615..b81419c95222 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_helper.c +++ b/drivers/gpu/drm/amd/display/dc/dc_helper.c @@ -91,11 +91,6 @@ struct dc_reg_value_masks { uint32_t mask; }; -struct dc_reg_sequence { - uint32_t addr; - struct dc_reg_value_masks value_masks; -}; - static inline void set_reg_field_value_masks( struct dc_reg_value_masks *field_value_mask, uint32_t value, -- 2.45.1