Tag: a579c97823d36613375d636c7b684133d8f79855

Staging: media: lirc: 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 a variable that becomes 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 …

Continue reading