Tag: ea0db9b2fd284104a9fd1cead85252a83375c71f

Staging: comedi: drivers: Compressed two lines of code into one.

Author: Heena Sirwani <heenasirwani@gmail.com> The following patch compresses two lines of code into one using coccinelle and removes an unused variable. The following semantic patch was used: @@ expression ret; identifier f; @@ -ret = +return f(…); -return ret; Signed-off-by: Heena Sirwani Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/comedi/drivers/mite.c | 5 +—- 1 file …

Continue reading