Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7dc4cd1 authored by Il Han's avatar Il Han Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarIl Han <corone.il.han@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 9ab494b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");