Skip to contentSkip to conversation

media: Remove incorrect comment from struct v4l2_fwnode_endpoint

PATCH In review Sakari Ailus 2 participants 2 messages Sep 5, 2022

Subsystems (2)
lore
Share & tools
lore

Sakari Ailus

author maintainer
#0 lore raw

PATCH 1/1 media: Remove incorrect comment from struct v4l2_fwnode_endpoint

struct v4l2_fwnode_endpoint was zeroed previously apart from the endpoint information itself when the endpoint properties were parsed. Now this hasn't been the case for a few years so remove the comment.

---
 include/media/v4l2-fwnode.h | 4 ----
 1 file changed, 4 deletions(-)
include/media/v4l2-fwnode.h +0 -4
index 15e4ab6722232..394d798f3dfa4 100644
@@ -45,10 +45,6 @@ struct v4l2_async_subdev;
  */
 struct v4l2_fwnode_endpoint {
 	struct fwnode_endpoint base;
-	/*
-	 * Fields below this line will be zeroed by
-	 * v4l2_fwnode_endpoint_parse()
-	 */
 	enum v4l2_mbus_type bus_type;
 	struct {
 		struct v4l2_mbus_config_parallel parallel;
Signature · 1 line
2.30.2
Reviewed-by on v1 1/1
#1 lore raw

Hi Sakari,

Thank you for the patch.

Quoted 5 lines · Sakari Ailus

struct v4l2_fwnode_endpoint was zeroed previously apart from the endpoint information itself when the endpoint properties were parsed. Now this hasn't been the case for a few years so remove the comment.

Quoted 19 lines
---
 include/media/v4l2-fwnode.h | 4 ----
 1 file changed, 4 deletions(-)
include/media/v4l2-fwnode.h +0 -4
index 15e4ab6722232..394d798f3dfa4 100644
@@ -45,10 +45,6 @@ struct v4l2_async_subdev;
  */
 struct v4l2_fwnode_endpoint {
 	struct fwnode_endpoint base;
-	/*
-	 * Fields below this line will be zeroed by
-	 * v4l2_fwnode_endpoint_parse()
-	 */
 	enum v4l2_mbus_type bus_type;
 	struct {
 		struct v4l2_mbus_config_parallel parallel;
Signature · 3 lines
Regards,

Laurent Pinchart