aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-12 17:26:15 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-12 17:26:15 +0100
commit96264b6dd980faec5c9fe4264b46cff9e82b93b2 (patch)
tree01554c6c387a1c8534c03d8c9ff96e6efd4e1fe1
parent2800b347e9f08f77cfd69f81fc24e0141c21598a (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
-rw-r--r--src/osmo-bts-sysmo/calib_file.c2
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;