]> git.karo-electronics.de Git - linux-beck.git/commit
staging: gdm72xx: Condense two statements into one to improve code readability.
authorNavya Sri Nizamkari <navyasri.tech@gmail.com>
Fri, 27 Feb 2015 15:58:29 +0000 (21:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 00:57:36 +0000 (16:57 -0800)
commit1862eec4fe45e2d33fb166af3f8e601fc2233d76
tree94d9a2b98f7dde3addfcbdbe698234c837a1a6ba
parente20af8acf1b538496827cd1e3b7b29631443528a
staging: gdm72xx: Condense two statements into one to improve code readability.

This patch removes a variable assignmnet to a value, used only
for returning that value. The following coccinelle script was
used to discover it:

@@
expression ret;
identifier f;
@@

-ret =
+return
     f(...);
     -return ret;

Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/gdm_qos.c