Skip to content
Permalink
Browse files
staging: media: omap4iss: Remove unused macro functions
Remove unused macro functions "to_iss_device()", "to_device()",
and "v4l2_dev_to_iss_device(dev)".

Signed-off-by: Aline Santana Cordeiro <alinesantanacordeiro@gmail.com>
  • Loading branch information
ascordeiro authored and intel-lab-lkp committed Apr 12, 2021
1 parent f2f560e commit 6cadf4b043c1d68e2afb77278b7d0deaee3a5222
Showing 1 changed file with 0 additions and 8 deletions.
@@ -29,11 +29,6 @@

struct regmap;

#define to_iss_device(ptr_module) \
container_of(ptr_module, struct iss_device, ptr_module)
#define to_device(ptr_module) \
(to_iss_device(ptr_module)->dev)

enum iss_mem_resources {
OMAP4_ISS_MEM_TOP,
OMAP4_ISS_MEM_CSI2_A_REGS1,
@@ -119,9 +114,6 @@ struct iss_device {
unsigned int isp_subclk_resources;
};

#define v4l2_dev_to_iss_device(dev) \
container_of(dev, struct iss_device, v4l2_dev)

int omap4iss_get_external_info(struct iss_pipeline *pipe,
struct media_link *link);

0 comments on commit 6cadf4b

Please sign in to comment.