[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4496bc6e-e5c0-4f86-b9c1-37ad2d2b687d@xs4all.nl>
Date: Thu, 30 May 2024 14:26:17 +0200
From: Hans Verkuil <hverkuil@...all.nl>
To: linux@...blig.org, mchehab@...nel.org, ming.qian@....com,
eagle.zhou@....com, digetx@...il.com, jonathanh@...dia.com
Cc: linux-tegra@...r.kernel.org, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] media: tegra-vde: remove unused struct
'tegra_vde_h264_frame'
On 25/05/2024 02:01, linux@...blig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@...blig.org>
>
> 'tegra_vde_h264_frame' has been unused since
> commit 313db7d235a0 ("media: staging: tegra-vde: Remove legacy UAPI
> support").
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@...blig.org>
> ---
> drivers/media/platform/nvidia/tegra-vde/h264.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/media/platform/nvidia/tegra-vde/h264.c b/drivers/media/platform/nvidia/tegra-vde/h264.c
> index cfea5572a1b8..d8812fc06c67 100644
> --- a/drivers/media/platform/nvidia/tegra-vde/h264.c
> +++ b/drivers/media/platform/nvidia/tegra-vde/h264.c
> @@ -19,11 +19,6 @@
> #define FLAG_B_FRAME 0x1
> #define FLAG_REFERENCE 0x2
>
> -struct tegra_vde_h264_frame {
> - unsigned int frame_num;
> - unsigned int flags;
> -};
> -
> struct tegra_vde_h264_decoder_ctx {
> unsigned int dpb_frames_nb;
> unsigned int dpb_ref_frames_with_earlier_poc_nb;
There is one more reference to this, that also can be dropped:
$ git grep tegra_vde_h264_frame
drivers/media/platform/nvidia/tegra-vde/vde.h:struct tegra_vde_h264_frame;
Regards,
Hans
Powered by blists - more mailing lists