Skip to contentSkip to conversation

staging: media: omap4iss: Remove unused macro function

PATCH New Aline Santana Cordeiro 1 participant 1 message Apr 14, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 staging: media: omap4iss: Remove unused macro function

Remove unused macro function "v4l2_dev_to_iss_device(dev)".

---

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(-)
drivers/staging/media/omap4iss/iss.h +0 -3
index b88f952..3f587e0 100644
@@ -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);
 
Signature · 1 line
2.7.4