linux/drivers/staging/iio
Aya Mahfouz 838ec194a9 staging: iio: meter: remove unused variable
This patch removes a variable that was simply used to
store the return value of a function call before
returning it.

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

@@
identifier len,f;
@@

-int len;
 ... when != len
     when strict
-len =
+return
        f(...);
-return len;

Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-01 16:25:25 -08:00
..
accel staging: iio: accel: sca3000_core.c: Remove unused function 2014-12-26 12:40:11 +00:00
adc First round of IIO new drivers, cleanups and functionality for the 3.20 cycle take 2 2015-01-21 10:13:37 +08:00
addac staging: iio: addac: annotate Kconfig entries with module name information 2014-10-20 10:29:08 +08:00
cdc staging: iio: cdc: Don't put an else right after a return 2014-09-19 17:49:39 -07:00
Documentation staging: iio: Documentation: rewrite the right hand side of an assignment 2015-02-26 15:24:16 -08:00
frequency staging: iio: frequency: remove unnecessary semicolon 2014-09-28 22:19:04 -04:00
gyro Staging: iio: gyro: Added description for config symbol. 2014-10-20 10:29:08 +08:00
impedance-analyzer staging: iio: ad5933: fix format string warnings 2015-01-25 22:55:34 +00:00
light staging: iio: isl29028: deprecate use of isl in compatible string for isil 2015-02-16 17:56:02 -08:00
magnetometer staging: iio: hmc5843_core: fix sparse warnings 2014-08-02 17:33:09 +01:00
meter staging: iio: meter: remove unused variable 2015-03-01 16:25:25 -08:00
resolver staging: iio: resolver: Annotate Kconfig entries with module name information 2014-10-02 10:06:10 -07:00
trigger Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
iio_dummy_evgen.c iio: dummy: Add virtual registers for dummy device 2014-11-22 11:05:44 +00:00
iio_dummy_evgen.h iio: dummy: Add virtual registers for dummy device 2014-11-22 11:05:44 +00:00
iio_simple_dummy_buffer.c iio: kfifo: Remove unused argument in iio_kfifo_allocate 2014-12-26 11:20:38 +00:00
iio_simple_dummy_events.c iio: core: Remove IIO_EV_TYPE_INSTANCE 2015-01-27 18:49:55 +00:00
iio_simple_dummy.c iio: core: Remove IIO_EV_TYPE_INSTANCE 2015-01-27 18:49:55 +00:00
iio_simple_dummy.h staging: iio: dummy: fix compile error when not using buffering 2015-01-01 12:20:52 +00:00
Kconfig kconfig: use bool instead of boolean for type definition attributes 2015-01-07 13:08:04 +01:00
Makefile
ring_hw.h staging: iio: Add #include guards to header files 2014-09-28 22:19:04 -04:00
TODO Staging/iio: add TODO reminder 2013-10-01 16:19:17 +01:00