Drop unused local var

Change-Id: I6da89b8861c0bd17fc011b55d5f4979ad6787f80
This commit is contained in:
Pau Espin 2023-10-03 14:12:09 +02:00
parent dea8aa8e61
commit 9bb4b22152
1 changed files with 0 additions and 2 deletions

View File

@ -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)