Commit f525e176 authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Mauro Carvalho Chehab

[media] exynos4-is: Remove unused code

Remove unused macros and fields of struct fimc_is_video.
Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 0e761b21
...@@ -118,7 +118,6 @@ struct fimc_is_video { ...@@ -118,7 +118,6 @@ struct fimc_is_video {
unsigned int frame_count; unsigned int frame_count;
unsigned int reqbufs_count; unsigned int reqbufs_count;
int streaming; int streaming;
unsigned long payload[FIMC_ISP_MAX_PLANES];
const struct fimc_fmt *format; const struct fimc_fmt *format;
}; };
...@@ -128,15 +127,9 @@ struct fimc_is_video { ...@@ -128,15 +127,9 @@ struct fimc_is_video {
* @alloc_ctx: videobuf2 memory allocator context * @alloc_ctx: videobuf2 memory allocator context
* @subdev: ISP v4l2_subdev * @subdev: ISP v4l2_subdev
* @subdev_pads: the ISP subdev media pads * @subdev_pads: the ISP subdev media pads
* @ctrl_handler: v4l2 controls handler
* @test_pattern: test pattern controls * @test_pattern: test pattern controls
* @pipeline: video capture pipeline data structure * @ctrls: v4l2 controls structure
* @video_lock: mutex serializing video device and the subdev operations * @video_lock: mutex serializing video device and the subdev operations
* @fmt: pointer to color format description structure
* @payload: image size in bytes (w x h x bpp)
* @inp_frame: camera input frame structure
* @out_frame: DMA output frame structure
* @source_subdev_grp_id: group id of remote source subdev
* @cac_margin_x: horizontal CAC margin in pixels * @cac_margin_x: horizontal CAC margin in pixels
* @cac_margin_y: vertical CAC margin in pixels * @cac_margin_y: vertical CAC margin in pixels
* @state: driver state flags * @state: driver state flags
...@@ -154,10 +147,6 @@ struct fimc_isp { ...@@ -154,10 +147,6 @@ struct fimc_isp {
struct mutex video_lock; struct mutex video_lock;
struct mutex subdev_lock; struct mutex subdev_lock;
struct fimc_isp_frame inp_frame;
struct fimc_isp_frame out_frame;
unsigned int source_subdev_grp_id;
unsigned int cac_margin_x; unsigned int cac_margin_x;
unsigned int cac_margin_y; unsigned int cac_margin_y;
......
...@@ -133,14 +133,6 @@ struct fimc_md { ...@@ -133,14 +133,6 @@ struct fimc_md {
struct list_head pipelines; struct list_head pipelines;
}; };
#define is_subdev_pad(pad) (pad == NULL || \
media_entity_type(pad->entity) == MEDIA_ENT_T_V4L2_SUBDEV)
#define me_subtype(me) \
((me->type) & (MEDIA_ENT_TYPE_MASK | MEDIA_ENT_SUBTYPE_MASK))
#define subdev_has_devnode(__sd) (__sd->flags & V4L2_SUBDEV_FL_HAS_DEVNODE)
static inline static inline
struct fimc_sensor_info *source_to_sensor_info(struct fimc_source_info *si) struct fimc_sensor_info *source_to_sensor_info(struct fimc_source_info *si)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment