Message ID | 20240530132619.71103-4-linux@treblig.org |
---|---|
State | Accepted |
Commit | 6c173766a547fb086c60da44fcb50e0542de78f9 |
Headers | show |
Series | Dead structs in media/platform | expand |
On Thu May 30, 2024 at 3:26 PM CEST, wrote: > From: "Dr. David Alan Gilbert" <linux@treblig.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@treblig.org> > --- > drivers/media/platform/nvidia/tegra-vde/h264.c | 5 ----- > drivers/media/platform/nvidia/tegra-vde/vde.h | 1 - > 2 files changed, 6 deletions(-) Not that you really need it, but since I'm here: Acked-by: Thierry Reding <treding@nvidia.com>
* Thierry Reding (thierry.reding@gmail.com) wrote: > On Thu May 30, 2024 at 3:26 PM CEST, wrote: > > From: "Dr. David Alan Gilbert" <linux@treblig.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@treblig.org> > > --- > > drivers/media/platform/nvidia/tegra-vde/h264.c | 5 ----- > > drivers/media/platform/nvidia/tegra-vde/vde.h | 1 - > > 2 files changed, 6 deletions(-) > > Not that you really need it, but since I'm here: > > Acked-by: Thierry Reding <treding@nvidia.com> Thanks! Dave
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; diff --git a/drivers/media/platform/nvidia/tegra-vde/vde.h b/drivers/media/platform/nvidia/tegra-vde/vde.h index 0fbb1f3d2c88..b2890484b7c3 100644 --- a/drivers/media/platform/nvidia/tegra-vde/vde.h +++ b/drivers/media/platform/nvidia/tegra-vde/vde.h @@ -47,7 +47,6 @@ struct iommu_group; struct iommu_domain; struct reset_control; struct dma_buf_attachment; -struct tegra_vde_h264_frame; struct tegra_vde_h264_decoder_ctx; struct tegra_video_frame {