diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-12-12 17:26:15 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-12-12 17:26:15 +0100 |
commit | 96264b6dd980faec5c9fe4264b46cff9e82b93b2 (patch) | |
tree | 01554c6c387a1c8534c03d8c9ff96e6efd4e1fe1 /src | |
parent | 2800b347e9f08f77cfd69f81fc24e0141c21598a (diff) |
sysmobts: Remove stray semicolon from the PCU band filtering code.
The information from band_mask has never been used as the return
was executed unconditionally.
Fixes: Coverity CID 1113473
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo-bts-sysmo/calib_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/calib_file.c b/src/osmo-bts-sysmo/calib_file.c index 5c7d56af..3d3332d8 100644 --- a/src/osmo-bts-sysmo/calib_file.c +++ b/src/osmo-bts-sysmo/calib_file.c @@ -126,7 +126,7 @@ static int next_calib_file_idx(uint32_t band_mask, int last_idx) int band = band_femto2osmo(calib_files[i].band); if (band < 0) continue; - if (band_mask & band); + if (band_mask & band) return i; } return -1; |