[lustre-devel] staging: lustre: Delete unnecessary goto statements in six functions

SF Markus Elfring elfring at users.sourceforge.net
Tue Dec 15 10:02:44 PST 2015

> This is the original code:
Really …?
> 	result = baz();
> 	if (result)
> 		goto label;
> label:
> 	go on...

I do not see such a source code structure
at the six places I propose to clean-up.

> I don't find the test->goto label; label: use offensive,
> but if he does, I think keeping a blank line in place of
> the test->goto might be better.

I find this an interesting view on source code layout.
Are there any more opinions around such implementation details?


More information about the lustre-devel mailing list