Tag: 3b9999ec18c569d485bdaee86224214eeef1d2b0

Staging: vt6656: Merge two lines of code into one

Author: Rajbinder Brar <brar.rajbinder@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: Rajbinder Brar …

Continue reading