diff mbox series

[-next] media: imx-jpeg: Remove unused declarations

Message ID 20230817134354.24936-1-yuehaibing@huawei.com
State Accepted
Commit 0c7b8c5c2aed26234b281e167f07ded444246116
Headers show
Series [-next] media: imx-jpeg: Remove unused declarations | expand

Commit Message

Yue Haibing Aug. 17, 2023, 1:43 p.m. UTC
These are never implemented, remove them.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h | 11 -----------
 1 file changed, 11 deletions(-)

Comments

Andrzej Pietrasiewicz Aug. 22, 2023, 10:48 a.m. UTC | #1
W dniu 17.08.2023 o 15:43, Yue Haibing pisze:
> These are never implemented, remove them.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Reviewed-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>

> ---
>   drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h | 11 -----------
>   1 file changed, 11 deletions(-)
> 
> diff --git a/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h b/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h
> index a2b4fb9e29e7..d579c804b047 100644
> --- a/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h
> +++ b/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h
> @@ -115,28 +115,17 @@ void print_cast_status(struct device *dev, void __iomem *reg,
>   void print_wrapper_info(struct device *dev, void __iomem *reg);
>   void mxc_jpeg_sw_reset(void __iomem *reg);
>   int mxc_jpeg_enable(void __iomem *reg);
> -void wait_frmdone(struct device *dev, void __iomem *reg);
>   void mxc_jpeg_enc_mode_conf(struct device *dev, void __iomem *reg, u8 extseq);
>   void mxc_jpeg_enc_mode_go(struct device *dev, void __iomem *reg, u8 extseq);
>   void mxc_jpeg_enc_set_quality(struct device *dev, void __iomem *reg, u8 quality);
>   void mxc_jpeg_dec_mode_go(struct device *dev, void __iomem *reg);
> -int mxc_jpeg_get_slot(void __iomem *reg);
> -u32 mxc_jpeg_get_offset(void __iomem *reg, int slot);
>   void mxc_jpeg_enable_slot(void __iomem *reg, int slot);
>   void mxc_jpeg_set_l_endian(void __iomem *reg, int le);
>   void mxc_jpeg_enable_irq(void __iomem *reg, int slot);
>   void mxc_jpeg_disable_irq(void __iomem *reg, int slot);
> -int mxc_jpeg_set_input(void __iomem *reg, u32 in_buf, u32 bufsize);
> -int mxc_jpeg_set_output(void __iomem *reg, u16 out_pitch, u32 out_buf,
> -			u16 w, u16 h);
> -void mxc_jpeg_set_config_mode(void __iomem *reg, int config_mode);
> -int mxc_jpeg_set_params(struct mxc_jpeg_desc *desc,  u32 bufsize, u16
> -			out_pitch, u32 format);
>   void mxc_jpeg_set_bufsize(struct mxc_jpeg_desc *desc,  u32 bufsize);
>   void mxc_jpeg_set_res(struct mxc_jpeg_desc *desc, u16 w, u16 h);
>   void mxc_jpeg_set_line_pitch(struct mxc_jpeg_desc *desc, u32 line_pitch);
>   void mxc_jpeg_set_desc(u32 desc, void __iomem *reg, int slot);
>   void mxc_jpeg_clr_desc(void __iomem *reg, int slot);
> -void mxc_jpeg_set_regs_from_desc(struct mxc_jpeg_desc *desc,
> -				 void __iomem *reg);
>   #endif
diff mbox series

Patch

diff --git a/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h b/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h
index a2b4fb9e29e7..d579c804b047 100644
--- a/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h
+++ b/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h
@@ -115,28 +115,17 @@  void print_cast_status(struct device *dev, void __iomem *reg,
 void print_wrapper_info(struct device *dev, void __iomem *reg);
 void mxc_jpeg_sw_reset(void __iomem *reg);
 int mxc_jpeg_enable(void __iomem *reg);
-void wait_frmdone(struct device *dev, void __iomem *reg);
 void mxc_jpeg_enc_mode_conf(struct device *dev, void __iomem *reg, u8 extseq);
 void mxc_jpeg_enc_mode_go(struct device *dev, void __iomem *reg, u8 extseq);
 void mxc_jpeg_enc_set_quality(struct device *dev, void __iomem *reg, u8 quality);
 void mxc_jpeg_dec_mode_go(struct device *dev, void __iomem *reg);
-int mxc_jpeg_get_slot(void __iomem *reg);
-u32 mxc_jpeg_get_offset(void __iomem *reg, int slot);
 void mxc_jpeg_enable_slot(void __iomem *reg, int slot);
 void mxc_jpeg_set_l_endian(void __iomem *reg, int le);
 void mxc_jpeg_enable_irq(void __iomem *reg, int slot);
 void mxc_jpeg_disable_irq(void __iomem *reg, int slot);
-int mxc_jpeg_set_input(void __iomem *reg, u32 in_buf, u32 bufsize);
-int mxc_jpeg_set_output(void __iomem *reg, u16 out_pitch, u32 out_buf,
-			u16 w, u16 h);
-void mxc_jpeg_set_config_mode(void __iomem *reg, int config_mode);
-int mxc_jpeg_set_params(struct mxc_jpeg_desc *desc,  u32 bufsize, u16
-			out_pitch, u32 format);
 void mxc_jpeg_set_bufsize(struct mxc_jpeg_desc *desc,  u32 bufsize);
 void mxc_jpeg_set_res(struct mxc_jpeg_desc *desc, u16 w, u16 h);
 void mxc_jpeg_set_line_pitch(struct mxc_jpeg_desc *desc, u32 line_pitch);
 void mxc_jpeg_set_desc(u32 desc, void __iomem *reg, int slot);
 void mxc_jpeg_clr_desc(void __iomem *reg, int slot);
-void mxc_jpeg_set_regs_from_desc(struct mxc_jpeg_desc *desc,
-				 void __iomem *reg);
 #endif