Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26681679rwd; Mon, 3 Jul 2023 13:17:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlEYsVdlv/i8R2T2UDeJZOOXytsFILiTsQ1wL7qqE0mI1ehYFoPDKdfUC7RNc1qV0nZNYpe/ X-Received: by 2002:a17:90b:3c4:b0:262:ece1:5fd0 with SMTP id go4-20020a17090b03c400b00262ece15fd0mr9020736pjb.12.1688415433806; Mon, 03 Jul 2023 13:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688415433; cv=none; d=google.com; s=arc-20160816; b=hRaLDWIjKFHW1BT63FA+IL24fE6ymnhxYzGWU89wxXluwQF84R59AmcW2Bz/82F8UY u/WYGvx+Y3FhRGojwiTD3IAnmbXC37F9IuAG1E0ODntdqKyJi7G6SAV+1153+DVT/rOt Bc2NDVUoczUG5qybrJP/rw0SKt8y77IUfp3UBhWImyLEtvzfbGqBefJt/yBMCtPCcAcW 1qU/AHs96/+KzHifD5tcvjKV49EFA9oY1p7jRfrTOYWeUwGShzyyqcHASvz5DGRvV0kO 7nKhTAwYC+KyoJQmsH7X1qi+810xSM6626fpPmiOKWPbhTzxORFAa/JBm5LCo69nhz6+ V0Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=Z0D41B28HCen2DE4lb+eAA/C7ru4JyjRihqkvtQfQpE=; fh=aOvytvq6tprzfoAf/U5qK8Unet+l+Sw0+Kyn/0oLBjU=; b=cNH+PydXyFUY0tl/wBmT7HJakyLCfBcRJOpUfaGquV8pgX3ykHkvDfHUUXrQJIlLMu rE62woT/4H1EeOWmdT1lmSjJt2UY4wTO8VRByZ0+zeVSd9vnIACMZygtGE7/m1ceY8Jv 9uJjmDcmfGvZfNnNmaCGRfZiedWVALzf2RuMgaEc89izlKLRWJ3/ryxrJQEonM3lzrM1 25ng2mrQ08vq4ta8Kr6Ns70IF3XL3FGdArKx52NSC1m2cVvMjbxGZEWs085BlKl1tNvE wUdKm7JUMf696f2hw7DuKGUC8/mWhPvD8apMKesXDxZkLaFWdW/MHuW3paW6cRgL+iM6 dXsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=TsBj63eV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id na11-20020a17090b4c0b00b00263c7cadb73si3157081pjb.152.2023.07.03.13.17.02; Mon, 03 Jul 2023 13:17:13 -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=@collabora.com header.s=mail header.b=TsBj63eV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231469AbjGCULo (ORCPT + 99 others); Mon, 3 Jul 2023 16:11:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230144AbjGCULn (ORCPT ); Mon, 3 Jul 2023 16:11:43 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18765E47; Mon, 3 Jul 2023 13:11:41 -0700 (PDT) Received: from nicolas-tpx395.localdomain (unknown [IPv6:2606:6d00:10:88d9::7a9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nicolas) by madras.collabora.co.uk (Postfix) with ESMTPSA id 659ED6606F85; Mon, 3 Jul 2023 21:11:38 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1688415099; bh=xH9M97URyDCaNz7KBqcRG7kNLNJmEMD44BmIGqr3US4=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=TsBj63eVlDsXzrtOgJW16iTuuBdW1ckHZRzykiTfw3hsiUUOBlAEG8sTJMjZEeVFl r493EZU2reixTYcPcNsLdgVCTN50F0VfG2C8KdPYA2gnkw2+r+IY+A+nc1GcnqW73W IxN2MnciO1UZ8EM6nv12wKFbKjg3RrB2189Elo3g1xsHoisjPN+AUY+RCqvd8g8Ajg P4RAGASvQtMMONwYYHpHP+cpyVRF9NzszfXpzY6j1NuGPsaUCHB84jrvZECtvYzch1 SpXOQelELcSoC5ndDryLdItNA33aVTjIeJqeSma4tQikrfLO4WiJU0USwr34TQ63ZR 1xirUIyEOdJvg== Message-ID: <18dd8837ac53aee879d38bd0c4996d0c7c0797b7.camel@collabora.com> Subject: Re: [PATCH v4,10/11] media: mediatek: vcodec: remove unused include header From: Nicolas Dufresne To: Yunfei Dong , =?ISO-8859-1?Q?N=EDcolas?= "F . R . A . Prado" , Hans Verkuil , AngeloGioacchino Del Regno , Benjamin Gaignard , Nathan Hebert Cc: Chen-Yu Tsai , Hsin-Yi Wang , Fritz Koenig , Daniel Vetter , Steve Cho , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com Date: Mon, 03 Jul 2023 16:11:29 -0400 In-Reply-To: <20230626035346.30654-11-yunfei.dong@mediatek.com> References: <20230626035346.30654-1-yunfei.dong@mediatek.com> <20230626035346.30654-11-yunfei.dong@mediatek.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.3 (3.48.3-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Le lundi 26 juin 2023 =C3=A0 11:53 +0800, Yunfei Dong a =C3=A9crit=C2=A0: > remove unused include header for .c files >=20 > Signed-off-by: Yunfei Dong Reviewed-by: Nicolas Dufresne > --- > drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c | 2 -- > drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_drv.c | 2 -- > drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_hw.c | 1 - > drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_pm.c | 1 - > .../media/platform/mediatek/vcodec/mtk_vcodec_dec_stateful.c | 2 -- > .../media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c | 2 -- > drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.c | 2 -- > drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc_drv.c | 2 -- > drivers/media/platform/mediatek/vcodec/mtk_vcodec_fw.c | 2 -- > .../media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c | 1 - > drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_if.c | 1 - > drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_if.c | 1 - > .../platform/mediatek/vcodec/vdec/vdec_h264_req_multi_if.c | 1 - > .../platform/mediatek/vcodec/vdec/vdec_hevc_req_multi_if.c | 1 - > drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_if.c | 1 - > drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_req_if.c | 1 - > .../media/platform/mediatek/vcodec/vdec/vdec_vp9_req_lat_if.c | 1 - > drivers/media/platform/mediatek/vcodec/vdec_drv_if.h | 1 - > drivers/media/platform/mediatek/vcodec/vdec_msg_queue.h | 2 -- > drivers/media/platform/mediatek/vcodec/vdec_vpu_if.c | 1 - > drivers/media/platform/mediatek/vcodec/vdec_vpu_if.h | 2 -- > drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c | 1 - > drivers/media/platform/mediatek/vcodec/venc/venc_vp8_if.c | 1 - > drivers/media/platform/mediatek/vcodec/venc_vpu_if.c | 1 - > drivers/media/platform/mediatek/vcodec/venc_vpu_if.h | 1 - > 25 files changed, 34 deletions(-) >=20 > diff --git a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c b/dr= ivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c > index 0363fec572e5..5acb7dff18f2 100644 > --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c > +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c > @@ -11,8 +11,6 @@ > =20 > #include "mtk_vcodec_dec_drv.h" > #include "mtk_vcodec_dec.h" > -#include "mtk_vcodec_intr.h" > -#include "mtk_vcodec_util.h" > #include "vdec_drv_if.h" > #include "mtk_vcodec_dec_pm.h" > =20 > diff --git a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_drv.c = b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_drv.c > index 8e3aea9a3ab0..36970113d069 100644 > --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_drv.c > +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_drv.c > @@ -21,8 +21,6 @@ > #include "mtk_vcodec_dec_hw.h" > #include "mtk_vcodec_dec_pm.h" > #include "mtk_vcodec_intr.h" > -#include "mtk_vcodec_util.h" > -#include "mtk_vcodec_fw.h" > =20 > static int mtk_vcodec_get_hw_count(struct mtk_vcodec_dec_ctx *ctx, struc= t mtk_vcodec_dec_dev *dev) > { > diff --git a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_hw.c b= /drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_hw.c > index 23c19efa3cf6..fa02fcf4e8c2 100644 > --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_hw.c > +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_hw.c > @@ -16,7 +16,6 @@ > #include "mtk_vcodec_dec_hw.h" > #include "mtk_vcodec_dec_pm.h" > #include "mtk_vcodec_intr.h" > -#include "mtk_vcodec_util.h" > =20 > static const struct of_device_id mtk_vdec_hw_match[] =3D { > { > diff --git a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_pm.c b= /drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_pm.c > index ed1f503a944e..edd3e6e2df85 100644 > --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_pm.c > +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_pm.c > @@ -12,7 +12,6 @@ > =20 > #include "mtk_vcodec_dec_hw.h" > #include "mtk_vcodec_dec_pm.h" > -#include "mtk_vcodec_util.h" > =20 > int mtk_vcodec_init_dec_clk(struct platform_device *pdev, struct mtk_vco= dec_pm *pm) > { > diff --git a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_statef= ul.c b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateful.c > index 459e74a46737..11ca2c2fbaad 100644 > --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateful.c > +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateful.c > @@ -5,8 +5,6 @@ > #include > =20 > #include "mtk_vcodec_dec.h" > -#include "mtk_vcodec_intr.h" > -#include "mtk_vcodec_util.h" > #include "mtk_vcodec_dec_pm.h" > #include "vdec_drv_if.h" > =20 > diff --git a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_statel= ess.c b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c > index 6268a39c2bb3..38b30c876ede 100644 > --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c > +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c > @@ -7,8 +7,6 @@ > #include > =20 > #include "mtk_vcodec_dec.h" > -#include "mtk_vcodec_intr.h" > -#include "mtk_vcodec_util.h" > #include "mtk_vcodec_dec_pm.h" > #include "vdec_drv_if.h" > =20 > diff --git a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.c b/dr= ivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.c > index 85dabb20fb11..8e44a051edda 100644 > --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.c > +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.c > @@ -11,8 +11,6 @@ > #include > =20 > #include "mtk_vcodec_enc.h" > -#include "mtk_vcodec_intr.h" > -#include "mtk_vcodec_util.h" > #include "venc_drv_if.h" > =20 > #define MTK_VENC_MIN_W 160U > diff --git a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc_drv.c = b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc_drv.c > index 0830708de32f..f1b4d5e8cd49 100644 > --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc_drv.c > +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc_drv.c > @@ -19,8 +19,6 @@ > #include "mtk_vcodec_enc.h" > #include "mtk_vcodec_enc_pm.h" > #include "mtk_vcodec_intr.h" > -#include "mtk_vcodec_util.h" > -#include "mtk_vcodec_fw.h" > =20 > static const struct mtk_video_fmt mtk_video_formats_output[] =3D { > { > diff --git a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_fw.c b/dri= vers/media/platform/mediatek/vcodec/mtk_vcodec_fw.c > index 5c9f04574ad1..e59ce7c78742 100644 > --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_fw.c > +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_fw.c > @@ -2,9 +2,7 @@ > =20 > #include "mtk_vcodec_dec_drv.h" > #include "mtk_vcodec_enc_drv.h" > -#include "mtk_vcodec_fw.h" > #include "mtk_vcodec_fw_priv.h" > -#include "mtk_vcodec_util.h" > =20 > struct mtk_vcodec_fw *mtk_vcodec_fw_select(void *priv, enum mtk_vcodec_f= w_type type, > enum mtk_vcodec_fw_use fw_use) > diff --git a/drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat= _if.c b/drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c > index 96ed4bec169e..d272fef36cd1 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c > +++ b/drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c > @@ -8,7 +8,6 @@ > #include > #include > =20 > -#include "../mtk_vcodec_util.h" > #include "../mtk_vcodec_dec.h" > #include "../mtk_vcodec_intr.h" > #include "../vdec_drv_base.h" > diff --git a/drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_if.c b= /drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_if.c > index 69914e26cd20..a8175f977ed2 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_if.c > +++ b/drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_if.c > @@ -8,7 +8,6 @@ > #include > =20 > #include "../vdec_drv_if.h" > -#include "../mtk_vcodec_util.h" > #include "../mtk_vcodec_dec.h" > #include "../mtk_vcodec_intr.h" > #include "../vdec_vpu_if.h" > diff --git a/drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_if= .c b/drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_if.c > index 4eb98a705be4..4c5ef35199a1 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_if.c > +++ b/drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_if.c > @@ -6,7 +6,6 @@ > #include > #include > =20 > -#include "../mtk_vcodec_util.h" > #include "../mtk_vcodec_dec.h" > #include "../mtk_vcodec_intr.h" > #include "../vdec_drv_base.h" > diff --git a/drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_mu= lti_if.c b/drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_multi_= if.c > index 79eff921fc97..0f9f7b56882f 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_multi_if.= c > +++ b/drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_multi_if.= c > @@ -10,7 +10,6 @@ > #include > #include > =20 > -#include "../mtk_vcodec_util.h" > #include "../mtk_vcodec_dec.h" > #include "../mtk_vcodec_intr.h" > #include "../vdec_drv_base.h" > diff --git a/drivers/media/platform/mediatek/vcodec/vdec/vdec_hevc_req_mu= lti_if.c b/drivers/media/platform/mediatek/vcodec/vdec/vdec_hevc_req_multi_= if.c > index 67a5f8b82eb8..2682f40d1361 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec/vdec_hevc_req_multi_if.= c > +++ b/drivers/media/platform/mediatek/vcodec/vdec/vdec_hevc_req_multi_if.= c > @@ -8,7 +8,6 @@ > #include > #include > =20 > -#include "../mtk_vcodec_util.h" > #include "../mtk_vcodec_dec.h" > #include "../mtk_vcodec_intr.h" > #include "../vdec_drv_base.h" > diff --git a/drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_if.c b/= drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_if.c > index a8606f74ddc1..ceddcfd9135b 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_if.c > +++ b/drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_if.c > @@ -7,7 +7,6 @@ > =20 > #include > #include "../vdec_drv_if.h" > -#include "../mtk_vcodec_util.h" > #include "../mtk_vcodec_dec.h" > #include "../mtk_vcodec_intr.h" > #include "../vdec_vpu_if.h" > diff --git a/drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_req_if.= c b/drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_req_if.c > index d3103b877b61..c85c849d2548 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_req_if.c > +++ b/drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_req_if.c > @@ -9,7 +9,6 @@ > #include > #include > =20 > -#include "../mtk_vcodec_util.h" > #include "../mtk_vcodec_dec.h" > #include "../mtk_vcodec_intr.h" > #include "../vdec_drv_base.h" > diff --git a/drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_req_lat= _if.c b/drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_req_lat_if.c > index 106ee4daf00b..3e9458470484 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_req_lat_if.c > +++ b/drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_req_lat_if.c > @@ -9,7 +9,6 @@ > #include > #include > =20 > -#include "../mtk_vcodec_util.h" > #include "../mtk_vcodec_dec.h" > #include "../mtk_vcodec_intr.h" > #include "../vdec_drv_base.h" > diff --git a/drivers/media/platform/mediatek/vcodec/vdec_drv_if.h b/drive= rs/media/platform/mediatek/vcodec/vdec_drv_if.h > index 7b41ce23158b..bfd297c96850 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec_drv_if.h > +++ b/drivers/media/platform/mediatek/vcodec/vdec_drv_if.h > @@ -9,7 +9,6 @@ > #define _VDEC_DRV_IF_H_ > =20 > #include "mtk_vcodec_dec.h" > -#include "mtk_vcodec_util.h" > =20 > =20 > /** > diff --git a/drivers/media/platform/mediatek/vcodec/vdec_msg_queue.h b/dr= ivers/media/platform/mediatek/vcodec/vdec_msg_queue.h > index eeb5deb907ed..1d9beb9e4a14 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec_msg_queue.h > +++ b/drivers/media/platform/mediatek/vcodec/vdec_msg_queue.h > @@ -12,8 +12,6 @@ > #include > #include > =20 > -#include "mtk_vcodec_util.h" > - > #define NUM_BUFFER_COUNT 3 > =20 > struct vdec_lat_buf; > diff --git a/drivers/media/platform/mediatek/vcodec/vdec_vpu_if.c b/drive= rs/media/platform/mediatek/vcodec/vdec_vpu_if.c > index 7fe8e196cb45..82c3dc8c4127 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec_vpu_if.c > +++ b/drivers/media/platform/mediatek/vcodec/vdec_vpu_if.c > @@ -8,7 +8,6 @@ > #include "vdec_drv_if.h" > #include "vdec_ipi_msg.h" > #include "vdec_vpu_if.h" > -#include "mtk_vcodec_fw.h" > =20 > static void handle_init_ack_msg(const struct vdec_vpu_ipi_init_ack *msg) > { > diff --git a/drivers/media/platform/mediatek/vcodec/vdec_vpu_if.h b/drive= rs/media/platform/mediatek/vcodec/vdec_vpu_if.h > index c9766c108209..fbb3f34a73f0 100644 > --- a/drivers/media/platform/mediatek/vcodec/vdec_vpu_if.h > +++ b/drivers/media/platform/mediatek/vcodec/vdec_vpu_if.h > @@ -7,8 +7,6 @@ > #ifndef _VDEC_VPU_IF_H_ > #define _VDEC_VPU_IF_H_ > =20 > -#include "mtk_vcodec_fw.h" > - > struct mtk_vcodec_dec_ctx; > =20 > /** > diff --git a/drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c b= /drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c > index 41d463d40843..9127bceb0db4 100644 > --- a/drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c > +++ b/drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c > @@ -11,7 +11,6 @@ > #include > =20 > #include "../mtk_vcodec_enc_drv.h" > -#include "../mtk_vcodec_util.h" > #include "../mtk_vcodec_intr.h" > #include "../mtk_vcodec_enc.h" > #include "../mtk_vcodec_enc_pm.h" > diff --git a/drivers/media/platform/mediatek/vcodec/venc/venc_vp8_if.c b/= drivers/media/platform/mediatek/vcodec/venc/venc_vp8_if.c > index dfd6833576f4..510f3b042670 100644 > --- a/drivers/media/platform/mediatek/vcodec/venc/venc_vp8_if.c > +++ b/drivers/media/platform/mediatek/vcodec/venc/venc_vp8_if.c > @@ -10,7 +10,6 @@ > #include > =20 > #include "../mtk_vcodec_enc_drv.h" > -#include "../mtk_vcodec_util.h" > #include "../mtk_vcodec_intr.h" > #include "../mtk_vcodec_enc.h" > #include "../mtk_vcodec_enc_pm.h" > diff --git a/drivers/media/platform/mediatek/vcodec/venc_vpu_if.c b/drive= rs/media/platform/mediatek/vcodec/venc_vpu_if.c > index bfff16da0451..708db1bb32d4 100644 > --- a/drivers/media/platform/mediatek/vcodec/venc_vpu_if.c > +++ b/drivers/media/platform/mediatek/vcodec/venc_vpu_if.c > @@ -5,7 +5,6 @@ > */ > =20 > #include "mtk_vcodec_enc_drv.h" > -#include "mtk_vcodec_fw.h" > #include "venc_ipi_msg.h" > #include "venc_vpu_if.h" > =20 > diff --git a/drivers/media/platform/mediatek/vcodec/venc_vpu_if.h b/drive= rs/media/platform/mediatek/vcodec/venc_vpu_if.h > index 71370ab98809..ede55fc3bd07 100644 > --- a/drivers/media/platform/mediatek/vcodec/venc_vpu_if.h > +++ b/drivers/media/platform/mediatek/vcodec/venc_vpu_if.h > @@ -7,7 +7,6 @@ > #ifndef _VENC_VPU_IF_H_ > #define _VENC_VPU_IF_H_ > =20 > -#include "mtk_vcodec_fw.h" > #include "venc_drv_if.h" > =20 > /*