diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2013-05-31 13:47:01 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-12 22:04:30 -0300 |
commit | f525e176f938f31a7335ce2bfec433236e0d8d6a (patch) | |
tree | 19d2b49cd4efb9359bfebb8e2cb0db0ace40ba20 /drivers/media/platform/exynos4-is/media-dev.h | |
parent | 0e761b21b9d6c7a95a8e2b858af85d07f6c62d99 (diff) | |
download | lwn-f525e176f938f31a7335ce2bfec433236e0d8d6a.tar.gz lwn-f525e176f938f31a7335ce2bfec433236e0d8d6a.zip |
[media] exynos4-is: Remove unused code
Remove unused macros and fields of struct fimc_is_video.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/media-dev.h')
-rw-r--r-- | drivers/media/platform/exynos4-is/media-dev.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/platform/exynos4-is/media-dev.h b/drivers/media/platform/exynos4-is/media-dev.h index a704eea2cfbd..62599fd7756f 100644 --- a/drivers/media/platform/exynos4-is/media-dev.h +++ b/drivers/media/platform/exynos4-is/media-dev.h @@ -133,14 +133,6 @@ struct fimc_md { 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 struct fimc_sensor_info *source_to_sensor_info(struct fimc_source_info *si) { |