Re: [PATCH 3/3] media: tegra-vde: remove unused struct 'tegra_vde_h264_frame'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25/05/2024 02:01, linux@xxxxxxxxxxx wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
> 
> '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@xxxxxxxxxxx>
> ---
>  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




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux