Tag: fdb78b64a7ba790e93a74f35778b431e71b5f48d

staging: rts5208: Removed unnecessary return variable

Author: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> This patch removes unnecessary return variables in switch statements. This was done with Coccinelle: @@ local idexpression ret; expression e1,e2; identifier label; @@ switch ( … ) { case label : … – ret = e1; – break; + return e1; … default: … – ret = e2; + return e2; …

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.