mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Remove redundant check
This commit is contained in:
parent
149c26b971
commit
a32ea2ab9c
@ -771,10 +771,6 @@ int ReedSolomon::decode(std::vector<uint8_t>& data_to_decode, const std::vector<
|
|||||||
|
|
||||||
int ReedSolomon::decode_rs_8(uint8_t* data, const int* eras_pos, int no_eras, int pad) const
|
int ReedSolomon::decode_rs_8(uint8_t* data, const int* eras_pos, int no_eras, int pad) const
|
||||||
{
|
{
|
||||||
if (pad < 0 || pad > 222)
|
|
||||||
{
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
int deg_lambda;
|
int deg_lambda;
|
||||||
int el;
|
int el;
|
||||||
int deg_omega;
|
int deg_omega;
|
||||||
|
Loading…
Reference in New Issue
Block a user