media: dvb-usb-v2: lmedm04: remove unnecessary variable in lme2510_stream_restart()
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 22 Jun 2017 04:22:47 +0000 (01:22 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 24 Jun 2017 21:46:05 +0000 (18:46 -0300)
commitd83bc7b644004131185aaa875e52bdcc3cd5f031
tree2e0bb2c27e8076f162ef198c1f575322c81d1650
parentb138afda3ca0450bcdbe4dd743b1952ea591a331
media: dvb-usb-v2: lmedm04: remove unnecessary variable in lme2510_stream_restart()

Remove unnecessary variable _ret_ and refactor the code.

Addresses-Coverity-ID: 1226934

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb-v2/lmedm04.c