Tag: c3397c1b06b6534caaaffa39160ffe09d540a575

staging: media: davinci_vpfe: remove ret variable in switch statements

Author: Thaissa Falbo <thaissa.falbo@gmail.com> Remove ret variable in functions that used it to determine the return. Simplified the return logic for these functions. Found with Coccinelle script: @@ local idexpression ret; expression c,d; identifier label; @@ switch ( … ) { case label : … – ret = c; – break; + return c; … …

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.