Tag: fe43ec5350d34244dedf3e6647f991f7c348c82d

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

Author: Heena Sirwani <heenasirwani@gmail.com> The following patch compressed two lines of code into one using coccinelle and removed an unused variable. The semantic patch used is as follows: @@ expression ret; identifier f; @@ -ret = +return f(…); -return ret; Signed-off-by: Heena Sirwani Signed-off-by: Greg Kroah-Hartman — drivers/staging/comedi/comedi_fops.c | 5 +—- 1 file changed, 1 …

Continue reading