]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: dgap: Remove unnecessary variable.
authorAnkita Patil <patil.ankita.r@gmail.com>
Thu, 18 Sep 2014 07:01:00 +0000 (12:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:53:57 +0000 (16:53 -0700)
commit335d9c85be096cf492cb3eaeef160b45e1f25d8d
treebf356dc5cfed8e3be212a10d71ee0d0e32cc7291
parent50d0a21b61f22b38f881fa21d2ada6ab4a61f93f
Staging: dgap: Remove unnecessary variable.

This patch removes unnecessary variable in file dgap.c
using Coccinelle. Semantic patch for this is as follows:

@@
expression ret;
identifier f;
@@

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

Also removed the unneeded variable manually.

Signed-off-by: Ankita Patil <patil.ankita.r@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/omap24xx/omap24xxcam.c