diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index 97fe92c1f1d2..c9219fddf44b 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c @@ -1218,7 +1218,6 @@ int of_overlay_remove(int *ovcs_id) ret_apply = 0; ret = __of_changeset_revert_entries(&ovcs->cset, &ret_apply); - if (ret) { if (ret_apply) devicetree_state_flags |= DTSF_REVERT_FAIL;