Tag: ca5dd0b83da6132a85b3c384eb0504a2c9cfd008

Staging: dgnc: Compress two lines of code into one.

Author: Heena Sirwani <heenasirwani@gmail.com> The following patch merges two lines of code into one using coccinelle and removes unused variables. 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/dgnc/dgnc_cls.c | 6 ++—- 1 file changed, 2 insertions(+), …

Lire la suite