Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1842386rwb; Fri, 19 Aug 2022 10:16:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR5oO84HrAue7oJ0Aa5RpWQOVy3fUyYS2IiYkm1WMNtzNoTUd7vhUh0sQ8SdO77GDMRcPqCy X-Received: by 2002:a17:907:8a1e:b0:731:39b9:e00c with SMTP id sc30-20020a1709078a1e00b0073139b9e00cmr5571638ejc.65.1660929400829; Fri, 19 Aug 2022 10:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660929400; cv=none; d=google.com; s=arc-20160816; b=RNQ5obTyWgnh4pusd6DNGRW/m6Ay/T710xeUUEirZud+kWHkZfJmdQQL2bPml7bhkM OWtqz4l/NhTpzpVqpb6JYMkZAdtaBAB4OhI18AsurX7S3pb+IFbkcru1kGV3shHxkxcE 0ywlnVr9uqSDnCAv3Q4Kbj4xXaGfHm8XaFwqmfOHsZSNpcfxmRB9oNNNnGB5E0iLaIn8 KQtf8SLTWSEFDdYqpm9QDouePCODiZNV8DY5DXnlLy5KLQT0iM9r8UQXr5GckcPBqNJf /WgIbrci45LqE0gqCFgZiA124kHdlyqOg3NYWP7fDpgS8htM4orzczNXSN8y+oYAuRoc 5zJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=CBON6wUUJtdJ7sqqMZwarBOptDuvgv0pQ4ftADp75o0=; b=icQhRhPK146HWsz2FhxjDKx0q/C3GMZpbvbSuadSM3nciovQiACbqjHiJRWXrZPVrk R+X2WVJ8D7qEJR78clk0qbBMqWkO/HthDha2EWpp8A3UIo83BWz1xX9rYDV7C5F1m+tZ f6m2Uemoiqocm91EecGKj7IDTlkA7iFW3/uyS/yda5XaDJREAUUoU1eWpzuGicO0C+TM bQ/SiW4uzTmijAJbUQO1PqJhTJhXzUcxe9BrGu7givgsOEj4vBNoKd54UKu+QVZZkqQt x2tt6Op8JB7mzZGWkxBed8sqEe7SXEPyZaNAjd28bUD1tvizC40BqGLCQFNL3f6ELDyy kZzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YKOAsmwk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bx21-20020a0564020b5500b0043bd77de21esi3342186edb.51.2022.08.19.10.16.14; Fri, 19 Aug 2022 10:16:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YKOAsmwk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351235AbiHSQES (ORCPT + 99 others); Fri, 19 Aug 2022 12:04:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351358AbiHSQBX (ORCPT ); Fri, 19 Aug 2022 12:01:23 -0400 Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01FA114D27 for ; Fri, 19 Aug 2022 08:53:12 -0700 (PDT) Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-11c5505dba2so5637546fac.13 for ; Fri, 19 Aug 2022 08:53:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=CBON6wUUJtdJ7sqqMZwarBOptDuvgv0pQ4ftADp75o0=; b=YKOAsmwkDqDfvM20l4Lh6uuwgDuwW7cbK+4jA+LC7iAC7meCT0NLSwnFPDnXi74eKl yVhD9IJ6AXVgUicEgtUGAcPukBcGTY1AdT1i4dMw8651aIkYmCS7rKLH/zQ8mm6PYkCb TPWMzLwuSRty3pM7RepGWoCOSLr1tg1dzv56uwlo8OnjUbxQe5dlHusAnOA3yMFzEN2m ngkIqcz4HoP1u6ravMguyNkYFqXF56iJ+YvV8+ES25bLsODdYingqBTet9m9RHy+vVTo Zm84LgwjvGV7i1NbIsl+4g6GODiI0yXKVhRHFBA+x7XO12bYN25vg+Yf2BOW4s3YzS93 oIgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=CBON6wUUJtdJ7sqqMZwarBOptDuvgv0pQ4ftADp75o0=; b=NBskXrnOYTNZwZhQfPvHvK3jTdFFTc0zKf+CY/KQvCdBgSMar01LcpAVBmPOOOvCGY R6v99uBtR1jQ1GYui7qPbDp1u9vJ0nOzN3yTqO5pJTj3NOq1n1I2krf7JW+Qobgqtzb5 7ENSUpNycYJLUrRu4Vrw0jHOD7pfrNcMqh6AK9gsKuaABXKbXPNDteQduWxIeRVWV8TZ 4XOfW1xDDdAGzD7Qzaxqj6hsutz3RR1CGQmGNpwVYcgPdJ0XLN/qfP7owQdOS1LMhpYe 7jdQPTf0zVTV3mGK4rDfMTxNf0hf12ABwC9DX6B7ftwMdMm8nUfkOy9x73O6wsMs5t4t jCcg== X-Gm-Message-State: ACgBeo2JabclN76Ois8rXGrQYBDHBks+ciE4WHKFumzaZ4bNqGCAb3+i sEpjxj7yYOWZ1U8h0Z+cN1J4Pbf55nyYcD/JNjXn0iWV X-Received: by 2002:a05:6870:e98b:b0:10d:fe5c:f818 with SMTP id r11-20020a056870e98b00b0010dfe5cf818mr4094491oao.106.1660924391783; Fri, 19 Aug 2022 08:53:11 -0700 (PDT) MIME-Version: 1.0 References: <20220819015302.1731088-1-magalilemes00@gmail.com> In-Reply-To: <20220819015302.1731088-1-magalilemes00@gmail.com> From: Alex Deucher Date: Fri, 19 Aug 2022 11:53:00 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/display: remove unused header To: Magali Lemes Cc: harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, tales.aparecida@gmail.com, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, mwen@igalia.com, mairacanal@riseup.net, dri-devel@lists.freedesktop.org, isabbasso@riseup.net, andrealmeid@riseup.net Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! Alex On Thu, Aug 18, 2022 at 9:53 PM Magali Lemes wrote: > > dml_wrapper* files were removed in commit 724449e30433 > ("drm/amd/display: Remove unused code"), as they are not used anywhere. > However, the header file wasn't removed, so remove the header as well. > > Signed-off-by: Magali Lemes > --- > .../gpu/drm/amd/display/dc/inc/dml_wrapper.h | 34 ------------------- > 1 file changed, 34 deletions(-) > delete mode 100644 drivers/gpu/drm/amd/display/dc/inc/dml_wrapper.h > > diff --git a/drivers/gpu/drm/amd/display/dc/inc/dml_wrapper.h b/drivers/gpu/drm/amd/display/dc/inc/dml_wrapper.h > deleted file mode 100644 > index 5dcfbd8e2697..000000000000 > --- a/drivers/gpu/drm/amd/display/dc/inc/dml_wrapper.h > +++ /dev/null > @@ -1,34 +0,0 @@ > -/* > - * Copyright 2015 Advanced Micro Devices, Inc. > - * > - * Permission is hereby granted, free of charge, to any person obtaining a > - * copy of this software and associated documentation files (the "Software"), > - * to deal in the Software without restriction, including without limitation > - * the rights to use, copy, modify, merge, publish, distribute, sublicense, > - * and/or sell copies of the Software, and to permit persons to whom the > - * Software is furnished to do so, subject to the following conditions: > - * > - * The above copyright notice and this permission notice shall be included in > - * all copies or substantial portions of the Software. > - * > - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR > - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, > - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL > - * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR > - * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, > - * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > - * OTHER DEALINGS IN THE SOFTWARE. > - * > - * Authors: AMD > - * > - */ > - > -#ifndef DML_WRAPPER_H_ > -#define DML_WRAPPER_H_ > - > -#include "dc.h" > -#include "dml/display_mode_vba.h" > - > -bool dml_validate(struct dc *dc, struct dc_state *context, bool fast_validate); > - > -#endif > -- > 2.37.1 >