Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp888884pxu; Mon, 23 Nov 2020 06:41:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzHKl2JwosD+ZO8rSSz0G6RBoRSvQcvZfmpNNbzCvSW8NlyeioO//joQQhL+TRr5Nw5wO4I X-Received: by 2002:a17:906:8415:: with SMTP id n21mr13002057ejx.399.1606142515869; Mon, 23 Nov 2020 06:41:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606142515; cv=none; d=google.com; s=arc-20160816; b=DbX7ZY1T4d2nSanwwua4HbJs7uRHTikMowC39oZ0rO+kiFnujtuc9aKrY25kwDGnxX /ylyFnWPyXfO+PDrJTTRFiBoiv2x3dsYoyDWsnCQcCG3wc/xoBzfgskXH218mgNKB24B 7F8aCN/OstjmLD/WnI4EqIUxufcL0zDWzd43zC4AfD7W/5mRSpE7P26pzQNIHsZqms5i qAN+g+dKFaP1BLgc/drsubDMl0zxaSuJSVkmWP4HkLQsTYbUJMQ94MPr6+u6l7IDTZJ4 ApjIyLUgORJdFEs6Eyo7z3fNqWkAbXnOohIsczrfCnZzx/wdWV1JSrnEjoTD+Cb2sX3M G3wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=JYOWyPkLXMd17HUYwa92IJTR0UK60RI+GweHzoHL8Ik=; b=Ey5E9Sl35ejMZJ4SwS+x20Dy4JYEkTXF49BuUuNKCg7aGFSMSDVvlyJMgcTjkjCu2P AEWO6Rwfo7Y62VkYTLQz/0dlVp6Kx/OWJb9vdfkiZ9royrJKjFdQh//ubIJpXeFWQJaZ pBUls9yE4zOphEUoS4bDTKfqhrfHS6C+6pfMzwtzatO0bqMN/hMW8RoFFv4MfOC2aAAM lBQt9ArPOSy2GI0aHMd9dqaqgPYxqCE3zS10XmX89wD+3C0A9CEHsyE/ZAz64o7rps31 GCN7bor9nk+XuVBjdrrH141ugCYgL+GQz4z69rja0Mgn9m3/nMmuPKB0USuive1HDr4i wfvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LWeEmYqR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pw16si6538288ejb.430.2020.11.23.06.41.32; Mon, 23 Nov 2020 06:41:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LWeEmYqR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728769AbgKWOhJ (ORCPT + 99 others); Mon, 23 Nov 2020 09:37:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:50364 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726735AbgKWOhJ (ORCPT ); Mon, 23 Nov 2020 09:37:09 -0500 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D7D9920773 for ; Mon, 23 Nov 2020 14:37:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606142228; bh=OUEWYsBkqLktfnlUWZU93Abg+Nz/7mAOEsw44o/z+AY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LWeEmYqRvIgVibJPvSUA2bNMZQKSwK4bFEbNihh1IZICbn9g73foiQyD2lJ+Kj9cW aHXTvbMmNhyKgCdAiOyMUqq9ko2uFsk4zH5WkqDSAiwX//khUaYb3iSdJ3ZinOQsLL KFYTslYgHiC7hm8tX+CcEdkzT3d+WvIAEY97IJxc= Received: by mail-ej1-f46.google.com with SMTP id gj5so23610982ejb.8 for ; Mon, 23 Nov 2020 06:37:07 -0800 (PST) X-Gm-Message-State: AOAM532u+t93UB+UjO92raS7l7MRmTWzGTOQDWUDMaw7hWklMlmY2FEW bBslk4mad+6LnVL+PFBTdkByqYsIL+gY9QlhhA== X-Received: by 2002:a17:906:d0cc:: with SMTP id bq12mr42714267ejb.127.1606142226345; Mon, 23 Nov 2020 06:37:06 -0800 (PST) MIME-Version: 1.0 References: <20201113134938.4004947-1-lee.jones@linaro.org> <20201113134938.4004947-19-lee.jones@linaro.org> In-Reply-To: <20201113134938.4004947-19-lee.jones@linaro.org> From: Chun-Kuang Hu Date: Mon, 23 Nov 2020 22:36:54 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 18/40] drm/mediatek/mtk_dpi: Remove unused struct definition 'mtk_dpi_encoder_funcs' To: Lee Jones Cc: linux-kernel , Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , Jie Qiu , DRI Development , Linux ARM , "moderated list:ARM/Mediatek SoC support" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Lee: Lee Jones =E6=96=BC 2020=E5=B9=B411=E6=9C=8813=E6=97= =A5 =E9=80=B1=E4=BA=94 =E4=B8=8B=E5=8D=889:50=E5=AF=AB=E9=81=93=EF=BC=9A > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/mediatek/mtk_dpi.c:530:39: warning: =E2=80=98mtk_dpi_enc= oder_funcs=E2=80=99 defined but not used [-Wunused-const-variable=3D] > Thanks for this patch, but I've applied another identical patch "drm/mediatek: mtk_dpi: Fix unused variable 'mtk_dpi_encoder_funcs'" [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/= commit/?h=3Dmediatek-drm-fixes&id=3D46b97aed5484a3f44584a10f9e0691bf89d2906= 4 Regards, Chun-Kuang. > Cc: Chun-Kuang Hu > Cc: Philipp Zabel > Cc: David Airlie > Cc: Daniel Vetter > Cc: Matthias Brugger > Cc: Jie Qiu > Cc: dri-devel@lists.freedesktop.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-mediatek@lists.infradead.org > Signed-off-by: Lee Jones > --- > drivers/gpu/drm/mediatek/mtk_dpi.c | 9 --------- > 1 file changed, 9 deletions(-) > > diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediate= k/mtk_dpi.c > index cf11c4850b405..52f11a63a3304 100644 > --- a/drivers/gpu/drm/mediatek/mtk_dpi.c > +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c > @@ -522,15 +522,6 @@ static int mtk_dpi_set_display_mode(struct mtk_dpi *= dpi, > return 0; > } > > -static void mtk_dpi_encoder_destroy(struct drm_encoder *encoder) > -{ > - drm_encoder_cleanup(encoder); > -} > - > -static const struct drm_encoder_funcs mtk_dpi_encoder_funcs =3D { > - .destroy =3D mtk_dpi_encoder_destroy, > -}; > - > static int mtk_dpi_bridge_attach(struct drm_bridge *bridge, > enum drm_bridge_attach_flags flags) > { > -- > 2.25.1 >