Tag: d8e186cebc94ac06682364b9931f38809ce7b1b5

Staging: rtl8192e: rtl8192e: Merge two lines and remove unused variable

Author: Mahati Chamarthy <mahati.chamarthy@gmail.com> This patch merges an assignment with an immediately following return of the assigned variable. It also removes variables that became unused due to this transformation. The following Coccinelle semantic patch was used to make this transformation: @r@ identifier ret; identifier f; @@ -ret = +return f(…); -return ret; @@ identifier r.ret; …

Continue reading