remove dead code in common_lib.h
This commit is contained in:
@@ -852,13 +852,10 @@ int main(int argc, char **argv)
|
||||
if (g_rbSize < 0) g_rbSize = N_RB_DL - g_rbStart;
|
||||
|
||||
double fs,txbw,rxbw;
|
||||
uint32_t samples;
|
||||
|
||||
get_samplerate_and_bw(mu,
|
||||
N_RB_DL,
|
||||
frame_parms->threequarter_fs,
|
||||
&fs,
|
||||
&samples,
|
||||
&txbw,
|
||||
&rxbw);
|
||||
|
||||
|
||||
@@ -437,9 +437,7 @@ int main(int argc, char **argv)
|
||||
double fs=0, eps;
|
||||
double scs = 30000;
|
||||
double txbw, rxbw;
|
||||
uint32_t samples;
|
||||
|
||||
get_samplerate_and_bw(mu, N_RB_DL, frame_parms->threequarter_fs, &fs, &samples, &txbw, &rxbw);
|
||||
get_samplerate_and_bw(mu, N_RB_DL, frame_parms->threequarter_fs, &fs, &txbw, &rxbw);
|
||||
|
||||
// cfo with respect to sub-carrier spacing
|
||||
eps = cfo/scs;
|
||||
|
||||
@@ -445,13 +445,10 @@ int main(int argc, char **argv)
|
||||
gNB->common_vars.rxdataF[0][i] = malloc16_clear(gNB->frame_parms.samples_per_frame_wCP * sizeof(c16_t));
|
||||
|
||||
double fs,txbw,rxbw;
|
||||
uint32_t samples;
|
||||
|
||||
get_samplerate_and_bw(mu,
|
||||
N_RB_DL,
|
||||
frame_parms->threequarter_fs,
|
||||
&fs,
|
||||
&samples,
|
||||
&txbw,
|
||||
&rxbw);
|
||||
|
||||
|
||||
@@ -325,8 +325,7 @@ int main(int argc, char *argv[])
|
||||
snr1 = snr0 + 10;
|
||||
|
||||
double sampling_rate, tx_bandwidth, rx_bandwidth;
|
||||
uint32_t samples;
|
||||
get_samplerate_and_bw(mu, N_RB_DL, threequarter_fs, &sampling_rate, &samples, &tx_bandwidth, &rx_bandwidth);
|
||||
get_samplerate_and_bw(mu, N_RB_DL, threequarter_fs, &sampling_rate, &tx_bandwidth, &rx_bandwidth);
|
||||
|
||||
// Initialize gNB
|
||||
gNB = calloc_or_fail(1, sizeof(PHY_VARS_gNB));
|
||||
|
||||
@@ -711,12 +711,10 @@ int main(int argc, char *argv[])
|
||||
snr1 = snr0 + 10;
|
||||
|
||||
double sampling_frequency, tx_bandwidth, rx_bandwidth;
|
||||
uint32_t samples;
|
||||
get_samplerate_and_bw(mu,
|
||||
N_RB_DL,
|
||||
threequarter_fs,
|
||||
&sampling_frequency,
|
||||
&samples,
|
||||
&tx_bandwidth,
|
||||
&rx_bandwidth);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user