[PATCH 01/10] rockchip/vpu: remove unused declarations

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

 



Remove unused function and struct declarations from the
rockchip_vpu_common.h header file.

Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
---
 .../media/rockchip/vpu/rockchip_vpu_common.h  | 25 -------------------
 1 file changed, 25 deletions(-)

diff --git a/drivers/staging/media/rockchip/vpu/rockchip_vpu_common.h b/drivers/staging/media/rockchip/vpu/rockchip_vpu_common.h
index 0b6a3fb1a48e..96948ec49c18 100644
--- a/drivers/staging/media/rockchip/vpu/rockchip_vpu_common.h
+++ b/drivers/staging/media/rockchip/vpu/rockchip_vpu_common.h
@@ -18,31 +18,6 @@
 
 #include "rockchip_vpu.h"
 
-extern const struct v4l2_ioctl_ops rockchip_vpu_enc_ioctl_ops;
-extern const struct vb2_ops rockchip_vpu_enc_src_queue_ops;
-extern const struct vb2_ops rockchip_vpu_enc_dst_queue_ops;
-extern const struct v4l2_ioctl_ops rockchip_vpu_dec_ioctl_ops;
-extern const struct vb2_ops rockchip_vpu_dec_src_queue_ops;
-extern const struct vb2_ops rockchip_vpu_dec_dst_queue_ops;
-
-void rockchip_vpu_buf_queue(struct vb2_buffer *vb);
-int rockchip_vpu_src_queue_setup(struct vb2_queue *vq,
-				 unsigned int *num_buffers,
-				 unsigned int *num_planes,
-				 unsigned int sizes[],
-				 struct device *alloc_devs[]);
-int rockchip_vpu_dst_queue_setup(struct vb2_queue *vq,
-				 unsigned int *num_buffers,
-				 unsigned int *num_planes,
-				 unsigned int sizes[],
-				 struct device *alloc_devs[]);
-void rockchip_vpu_buf_request_complete(struct vb2_buffer *vb);
-int rockchip_vpu_buf_out_validate(struct vb2_buffer *vb);
-int rockchip_vpu_src_buf_prepare(struct vb2_buffer *vb);
-int rockchip_vpu_dst_buf_prepare(struct vb2_buffer *vb);
-int rockchip_vpu_start(struct vb2_queue *q, unsigned int count);
-void rockchip_vpu_stop(struct vb2_queue *q);
-
 void *rockchip_vpu_get_ctrl(struct rockchip_vpu_ctx *ctx, u32 id);
 dma_addr_t rockchip_vpu_get_ref(struct vb2_queue *q, u64 ts);
 
-- 
2.20.1





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux