xfree86: fix not reached code in fi1236 driver from i2c
This issue was introduced in the first dump of the code in 2004. I haven't check what's the correct fix for it so I simply kept the behaviour of someone calling this and removed the unreachable code. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
7ac6a6b7d0
commit
35d208125f
|
@ -398,10 +398,6 @@ int TUNER_get_afc_hint(FI1236Ptr f)
|
||||||
{
|
{
|
||||||
if(f->afc_timer_installed)return TUNER_STILL_TUNING;
|
if(f->afc_timer_installed)return TUNER_STILL_TUNING;
|
||||||
return f->last_afc_hint;
|
return f->last_afc_hint;
|
||||||
if(f->type==TUNER_TYPE_MT2032)
|
|
||||||
return MT2032_get_afc_hint(f);
|
|
||||||
else
|
|
||||||
return FI1236_get_afc_hint(f);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void MT2032_dump_status(FI1236Ptr f)
|
static void MT2032_dump_status(FI1236Ptr f)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user