laforge submitted this change.

View Change


Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
Drop unused local var

Change-Id: I6da89b8861c0bd17fc011b55d5f4979ad6787f80
---
M src/osmo-bsc/bsc_vty.c
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index 02f708e..d758832 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -764,14 +764,12 @@
struct gsm_subscriber_connection *conn;
struct gsm_network *net = gsmnet_from_vty(vty);
bool no_conns = true;
- unsigned int count = 0;

vty_out(vty, "Active subscriber connections: %s", VTY_NEWLINE);

llist_for_each_entry(conn, &net->subscr_conns, entry) {
dump_one_subscr_conn(vty, conn);
no_conns = false;
- count++;
}

if (no_conns)

To view, visit change 34618. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I6da89b8861c0bd17fc011b55d5f4979ad6787f80
Gerrit-Change-Number: 34618
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-MessageType: merged