alistair23-linux/drivers/staging/dgap
Haneen Mohammed 6019ee4095 Staging: dgap: Remove unused variable
This patch removes variable that was used to store only the return value of a function call.

The issue was detected and resolved using the following coccinelle script:

@@
expression ret;
identifier f;
@@

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

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-09 13:30:40 +01:00
..
dgap.c Staging: dgap: Remove unused variable 2015-03-09 13:30:40 +01:00
dgap.h staging: dgap: Avoid name collision 2015-03-06 17:06:30 -08:00
Kconfig staging,dgap: Add dependency on HAS_IOMEM 2014-01-15 14:51:22 -08:00
Makefile staging: dgap: Rename driver 2014-02-24 16:48:44 -08:00