Tag: 88c9cc0092788ad37bc6ea7fe669358d0fbcb095

Staging: vt6656: Merges two lines of code and 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 Chamarthy …

Continue reading