Tag: 7d51a7dab7486a5961ca30909531f70155043a31

staging: lustre: lustre: Remove unnecessary else after return

Author: Janani Ravichandran <janani.rvchndrn@gmail.com> Else is unnecessary when there is a return statement in the corresponding if block. Coccinelle patch used: @rule1@ expression e1; @@ if (e1) { … return …; } – else{ … – } @rule2@ expression e2; statement s1; @@ if(e2) { … return …; } – else s1 Signed-off-by: Janani Ravichandran …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.