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

Commit f2a33314 authored by d binderman's avatar d binderman Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (3318): Fixes warning: variable "ret" is used before its value is set



- Fixes compiling warning on kernel 2.6.15 with the Intel C compiler. 
- It said drivers/media/dvb/frontends/bcm3510.c(258): 
  warning #592: variable "ret" is used before its value is set

Signed-off-by: default avatarPatrick Boettcher <pb@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
parent 7560d7a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -255,7 +255,7 @@ static int bcm3510_bert_reset(struct bcm3510_state *st)
	bcm3510_register_value b;
	int ret;

	if ((ret < bcm3510_readB(st,0xfa,&b)) < 0)
	if ((ret = bcm3510_readB(st,0xfa,&b)) < 0)
		return ret;

	b.BERCTL_fa.RESYNC = 0; bcm3510_writeB(st,0xfa,b);