mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-03 11:13:56 +08:00
[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 <corone.il.han@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
9ab494b010
commit
b7dc4cd175
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user