diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2021-03-12 15:34:27 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:07:35 +0200 |
commit | 10aacfecee366b7a8fc1f70e19a711ab444ee370 (patch) | |
tree | 5fbf27f4a494b361e672faf4889236e0074bc469 /drivers/media/i2c/mt9p031.c | |
parent | 12f6517f9726cd9778ef957a111df102eb1629a3 (diff) |
media: v4l2-fwnode: Simplify v4l2_async_nf_parse_fwnode_endpoints()
There are only one user left of __v4l2_async_nf_parse_fwnode_ep()
since [1], v4l2_async_nf_parse_fwnode_endpoints(). The two
functions can be merged.
The merge of the two highlights a dead code block conditioned by the
argument 'has_port' that always is false and can therefor be removed.
1. commit 0ae426ebd0dcef81 ("media: v4l2-fwnode: Remove v4l2_async_notifier_parse_fwnode_endpoints_by_port()")
[Sakari Ailus: Aligned some lines to opening parentheses.]
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/mt9p031.c')
0 files changed, 0 insertions, 0 deletions