1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +00:00

Remove redundant check

This commit is contained in:
Carles Fernandez 2021-04-01 12:53:28 +02:00
parent 149c26b971
commit a32ea2ab9c

View File

@ -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
{
if (pad < 0 || pad > 222)
{
return -1;
}
int deg_lambda;
int el;
int deg_omega;