Adjust a jump target so that a bit of exception handling can be better
reused at the end of this function.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
                return NULL;
 
        if (init_params->dce_environment == DCE_ENV_VIRTUAL_HW) {
-               if (false == dc_construct_ctx(dc, init_params)) {
-                       dc_destruct(dc);
-                       goto construct_fail;
-               }
+               if (!dc_construct_ctx(dc, init_params))
+                       goto destruct_dc;
        } else {
-               if (false == dc_construct(dc, init_params)) {
-                       dc_destruct(dc);
-                       goto construct_fail;
-               }
+               if (!dc_construct(dc, init_params))
+                       goto destruct_dc;
 
                full_pipe_count = dc->res_pool->pipe_count;
                if (dc->res_pool->underlay_pipe_index != NO_UNDERLAY_PIPE)
 
        return dc;
 
-construct_fail:
+destruct_dc:
+       dc_destruct(dc);
        kfree(dc);
        return NULL;
 }