Tag: fc489a528728dcce38df10a74cc1539522b670e7

Staging: vme: devices: 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; Signed-off-by: Mahati Chamarthy Signed-off-by: Greg Kroah-Hartman — drivers/staging/vme/devices/vme_user.c | 4 +— 1 file changed, …

Continue reading