oc2g: Remove unused variables
Change-Id: I6738adb6b0ae50905351c67c259d7a77cb250624
This commit is contained in:
parent
546056c9c8
commit
6b5bbee25f
|
@ -1266,7 +1266,6 @@ static int activate_rf_compl_cb(struct gsm_bts_trx *trx, struct msgb *resp,
|
|||
GsmL1_Status_t status;
|
||||
int on = 0;
|
||||
unsigned int i;
|
||||
struct gsm_bts *bts = trx->bts;
|
||||
|
||||
if (sysp->id == Oc2g_PrimId_ActivateRfCnf)
|
||||
on = 1;
|
||||
|
|
|
@ -83,7 +83,6 @@ unsigned int dsp_trace = 0x00000000;
|
|||
|
||||
int bts_model_init(struct gsm_bts *bts)
|
||||
{
|
||||
struct gsm_bts_trx *trx;
|
||||
struct stat st;
|
||||
static struct osmo_fd accept_fd, read_fd;
|
||||
int rc;
|
||||
|
|
|
@ -100,8 +100,6 @@ static int sysfs_write_str(int fd, const char *str)
|
|||
|
||||
int oc2gbts_clock_err_open(void)
|
||||
{
|
||||
int rc;
|
||||
int fault;
|
||||
|
||||
if (clkerr_fd_err < 0) {
|
||||
clkerr_fd_err = open(CLKERR_ERR_SYSFS, O_RDONLY);
|
||||
|
|
|
@ -271,7 +271,6 @@ int main(int argc, char **argv)
|
|||
{
|
||||
void *tall_msgb_ctx;
|
||||
int rc;
|
||||
pthread_t tid;
|
||||
|
||||
tall_mgr_ctx = talloc_named_const(NULL, 1, "bts manager");
|
||||
tall_msgb_ctx = talloc_named_const(tall_mgr_ctx, 1, "msgb");
|
||||
|
|
Loading…
Reference in New Issue