diff options
author | Il Han <[email protected]> | 2012-05-07 12:04:42 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2012-05-15 08:19:12 -0300 |
commit | b7dc4cd17506284a47eeb9160207e43c7d5486fe (patch) | |
tree | b8091d1e008fdd61dbf968f2346ba1f366ea6513 | |
parent | 9ab494b010e1b4c4693afa297ffbcf0f09bb9063 (diff) |
[media] lmedm04: Initialize a variable before its usage
The variable ret is used uninitialized.
It should be initialized before used.
Initialize it.
Signed-off-by: Il Han <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
-rw-r--r-- | drivers/media/dvb/dvb-usb/lmedm04.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/lmedm04.c b/drivers/media/dvb/dvb-usb/lmedm04.c index 003fb9bb7117..25d1031460f8 100644 --- a/drivers/media/dvb/dvb-usb/lmedm04.c +++ b/drivers/media/dvb/dvb-usb/lmedm04.c @@ -373,7 +373,7 @@ static int lme2510_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) struct lme2510_state *st = adap->dev->priv; static u8 clear_pid_reg[] = LME_ALL_PIDS; static u8 rbuf[1]; - int ret; + int ret = 0; deb_info(1, "PID Clearing Filter"); |