X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=Documentation%2FCodingStyle;h=7fe0546c504afdefc4be2f71279df7c377c03b46;hb=75fcf64dc7180a6258dbefd671edb9d86a38d22f;hp=e00b8f0dde52e520d5bcc378aa0bbf4f506a6b23;hpb=69df2ac1288b456a95aceadafbf88cd891a577c8;p=linux-2.6-microblaze.git diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle index e00b8f0dde52..7fe0546c504a 100644 --- a/Documentation/CodingStyle +++ b/Documentation/CodingStyle @@ -389,7 +389,8 @@ Albeit deprecated by some people, the equivalent of the goto statement is used frequently by compilers in form of the unconditional jump instruction. The goto statement comes in handy when a function exits from multiple -locations and some common work such as cleanup has to be done. +locations and some common work such as cleanup has to be done. If there is no +cleanup needed then just return directly. The rationale is: