From: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx> v4l2_fwnode_endpoint_free() was being called, however we did not call v4l2_fwnode_endpoint_alloc_parse() prior which would have performed an allocation of vep->link_frequencies anyway, so the call to kfree() becomes a no-op. Remove the extraneous and redundant call. Signed-off-by: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx> --- drivers/media/i2c/max9286.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/i2c/max9286.c b/drivers/media/i2c/max9286.c index e170540a5d72..03514bd27f5c 100644 --- a/drivers/media/i2c/max9286.c +++ b/drivers/media/i2c/max9286.c @@ -1176,7 +1176,6 @@ static int max9286_parse_dt(struct max9286_priv *priv) priv->csi2_data_lanes = vep.bus.mipi_csi2.num_data_lanes; - v4l2_fwnode_endpoint_free(&vep); continue; } -- 2.25.1