Tag: 9034720a54738bbaf96b619f34f887199ac7efed

Staging: iio: meter: ade7753: Merged assignment with immediately following return statement

Author: Tina Johnson <tinajohnson.1234@gmail.com> Saved one line of code by merging the assigning and return statements of variable ret. And thus removed variable len which was no longer useful. This patch was done using Coccinelle script and the following semantic patch was used: @@ expression ret; identifier f; @@ -ret = +return f(…); -return ret; …

Continue reading