summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-06-23 19:37:42 +0000
committerHolger Waechtler <devnull@localhost>2003-06-23 19:37:42 +0000
commite4c06903047a9d3e7ba991427f533748b932ac94 (patch)
tree83b0b461a0b0875238118528673b8144588bf770 /linux/drivers
parent6007248ff43c38dd20785c2185d55c310d1363c8 (diff)
downloadmediapointer-dvb-s2-e4c06903047a9d3e7ba991427f533748b932ac94.tar.gz
mediapointer-dvb-s2-e4c06903047a9d3e7ba991427f533748b932ac94.tar.bz2
remove bogus out-of-range check, FEC table index is limited to 0...7 due to &= ~0x07 anyway...
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/frontends/grundig_29504-491.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/grundig_29504-491.c b/linux/drivers/media/dvb/frontends/grundig_29504-491.c
index 121a5311f..f0db66fb9 100644
--- a/linux/drivers/media/dvb/frontends/grundig_29504-491.c
+++ b/linux/drivers/media/dvb/frontends/grundig_29504-491.c
@@ -181,9 +181,6 @@ static fe_code_rate_t tda8083_get_fec (struct dvb_i2c_bus *i2c)
index = tda8083_readreg (i2c, 0x0e) & 0x3;
- if (index > 7)
- return FEC_NONE;
-
return fec_tab [index];
}