[MERGED] osmo-bts[master]: common/vty.c: remove unused variables

2018-03-06 Thread Harald Welte
Harald Welte has submitted this change and it was merged.

Change subject: common/vty.c: remove unused variables
..


common/vty.c: remove unused variables

Change-Id: I289dda64228e81ca4c608121e50146a71e19f1e2
---
M src/common/vty.c
1 file changed, 0 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/vty.c b/src/common/vty.c
index 5c5ac6e..f3f846b 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -632,7 +632,6 @@
"Report the TOA in 1/256th symbol periods\n")
 {
struct gsm_bts *bts = vty->index;
-   struct gsm_bts_role_bts *btsb = bts_role_bts(bts);
 
bts->supp_meas_toa256 = true;
return CMD_SUCCESS;
@@ -644,7 +643,6 @@
"Report the TOA in 1/256th symbol periods\n")
 {
struct gsm_bts *bts = vty->index;
-   struct gsm_bts_role_bts *btsb = bts_role_bts(bts);
 
bts->supp_meas_toa256 = false;
return CMD_SUCCESS;

-- 
To view, visit https://gerrit.osmocom.org/7122
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I289dda64228e81ca4c608121e50146a71e19f1e2
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


osmo-bts[master]: common/vty.c: remove unused variables

2018-03-06 Thread Harald Welte

Patch Set 1: Code-Review+2

-- 
To view, visit https://gerrit.osmocom.org/7122
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I289dda64228e81ca4c608121e50146a71e19f1e2
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No


[PATCH] osmo-bts[master]: common/vty.c: remove unused variables

2018-03-06 Thread Vadim Yanitskiy

Review at  https://gerrit.osmocom.org/7122

common/vty.c: remove unused variables

Change-Id: I289dda64228e81ca4c608121e50146a71e19f1e2
---
M src/common/vty.c
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/22/7122/1

diff --git a/src/common/vty.c b/src/common/vty.c
index 5c5ac6e..f3f846b 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -632,7 +632,6 @@
"Report the TOA in 1/256th symbol periods\n")
 {
struct gsm_bts *bts = vty->index;
-   struct gsm_bts_role_bts *btsb = bts_role_bts(bts);
 
bts->supp_meas_toa256 = true;
return CMD_SUCCESS;
@@ -644,7 +643,6 @@
"Report the TOA in 1/256th symbol periods\n")
 {
struct gsm_bts *bts = vty->index;
-   struct gsm_bts_role_bts *btsb = bts_role_bts(bts);
 
bts->supp_meas_toa256 = false;
return CMD_SUCCESS;

-- 
To view, visit https://gerrit.osmocom.org/7122
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I289dda64228e81ca4c608121e50146a71e19f1e2
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy