commit | f84e27adfc4cb0c4aa97d830c43f8c82aca0547c | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Mon Oct 12 17:21:26 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 13 10:29:48 2015 -0700 |
tree | a1e9d2d8bf5899a211e4d5f74b6d2ca10378f38d | |
parent | 42ea907d785d522e5ae661c3774b8a801ac7f00b [diff] |
staging: comedi: remove superfluous retval = 0 in comedi_read() `comedi_read()` initializes `retval` to 0. The other `retval = 0` assignments are superfluous, so remove them. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>