diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-05-04 17:23:23 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-05-09 22:18:19 +0000 |
commit | 028820510e53d3c2c7e7547155f349605bd6e5ab (patch) | |
tree | ef44b0ca9729005b0b4d34c044590b514fa8eb78 | |
parent | 9563039a2a8cba0da1f0a7caf537dd78a56ffbe4 (diff) |
osmo-bts-trx/l1_if.c: cosmetic: drop double check
Change-Id: I25a8f85ee65e1c0dd54049ffacc039702ca36c8f
-rw-r--r-- | src/osmo-bts-trx/l1_if.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c index d0c8afd0..f9ba5fa0 100644 --- a/src/osmo-bts-trx/l1_if.c +++ b/src/osmo-bts-trx/l1_if.c @@ -182,16 +182,16 @@ int l1if_provision_transceiver_trx(struct trx_l1h *l1h) && l1h->config.bsic_valid && l1h->config.arfcn_valid) { /* before power on */ - if (l1h->config.arfcn_valid && !l1h->config.arfcn_sent) { + if (!l1h->config.arfcn_sent) { trx_if_cmd_rxtune(l1h, l1h->config.arfcn); trx_if_cmd_txtune(l1h, l1h->config.arfcn); l1h->config.arfcn_sent = 1; } - if (l1h->config.tsc_valid && !l1h->config.tsc_sent) { + if (!l1h->config.tsc_sent) { trx_if_cmd_settsc(l1h, l1h->config.tsc); l1h->config.tsc_sent = 1; } - if (l1h->config.bsic_valid && !l1h->config.bsic_sent) { + if (!l1h->config.bsic_sent) { trx_if_cmd_setbsic(l1h, l1h->config.bsic); l1h->config.bsic_sent = 1; } |