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

From: Roland McGrath
Date: Fri Jun 26 2009 - 18:42:05 EST


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

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

Thanks,
Roland

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/