[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210414132537.GA15742@focaruja>
Date: Wed, 14 Apr 2021 10:25:37 -0300
From: Aline Santana Cordeiro <alinesantanacordeiro@...il.com>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-media@...r.kernel.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, outreachy-kernel@...glegroups.com
Subject: [PATCH v3] staging: media: omap4iss: Remove unused macro function
Remove unused macro function "v4l2_dev_to_iss_device(dev)".
Signed-off-by: Aline Santana Cordeiro <alinesantanacordeiro@...il.com>
---
Changes since v2:
- No changes in code, just forgot to list the changes made
Changes since v1:
- Remove only unused macro function v4l2_dev_to_iss_device(dev)
- Left macro functions "to_iss_device()" and "to_device()"
drivers/staging/media/omap4iss/iss.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/media/omap4iss/iss.h b/drivers/staging/media/omap4iss/iss.h
index b88f952..3f587e0 100644
--- a/drivers/staging/media/omap4iss/iss.h
+++ b/drivers/staging/media/omap4iss/iss.h
@@ -119,9 +119,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);
--
2.7.4
Powered by blists - more mailing lists