Tag: eab4e78d0828e22dda46076250d0f260803488d2

Staging: vt6656: Merges two lines of code and also removes unused variable

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

Continue reading