Re: [PATCH 1/2] do_coredump: factor out put_cred() calls

Roland McGrath
2009-06-26T22:42:00Z

> if (!binfmt || !binfmt->core_dump)
> - goto fail;
> + goto out;
[...]
> +out:
> return;
> }

If the label does nothing, just use "return" instead of goto.

Thanks,
Roland