Tag: 6c14378eca6f2f66438799e76845c3f2bbdafb57

Staging: rtl8192u: Remove unnecessary variable

Author: Cristina Opriceana <cristina.opriceana@gmail.com> This patch detects the cases in which a variable is not modified through the code and it is used as a return value. The variable is detected and removed by coccinelle using the following semantic patch: @@ type T; expression expr; identifier r; constant c; @@ -T r = expr; … …

Continue reading