aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-10-03 14:12:09 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-10-03 14:12:09 +0200
commit9bb4b22152ebbb0ed36eb0f6512f8966377a407f (patch)
tree8f00224af25f2e6d2da385ec927fa316102b9d91 /src
parentdea8aa8e6181f0ce0b793aa7b124ba4869227c4a (diff)
Drop unused local var
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/bsc_vty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index 02f708e2e..d7588327d 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -764,14 +764,12 @@ DEFUN(show_subscr_conn,
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)