VLR: remove unused parameter

The expire_lu is never used but is printed for every subscriber. Let's
remove it to avoid confusion.

Change-Id: I6f7ad1670836384d1e6a58f47a13464fdbbf8509
This commit is contained in:
Max 2017-12-29 18:12:37 +01:00
parent 753c15de2f
commit 7772c7de55
2 changed files with 0 additions and 8 deletions

View File

@ -136,7 +136,6 @@ struct vlr_subscr {
bool la_allowed;
int use_count;
time_t expire_lu; /* FIXME: overlap with periodic_lu_timer/age_indicator */
struct osmo_fsm_inst *lu_fsm;
struct osmo_fsm_inst *auth_fsm;

View File

@ -64,7 +64,6 @@ static void subscr_dump_full_vty(struct vty *vty, struct vlr_subscr *vsub)
{
int reqs;
struct llist_head *entry;
char expire_time[200];
if (strlen(vsub->name))
vty_out(vty, " Name: '%s'%s", vsub->name, VTY_NEWLINE);
@ -110,12 +109,6 @@ static void subscr_dump_full_vty(struct vty *vty, struct vlr_subscr *vsub)
VTY_NEWLINE);
}
/* print the expiration time of a subscriber */
strftime(expire_time, sizeof(expire_time),
"%a, %d %b %Y %T %z", localtime(&vsub->expire_lu));
expire_time[sizeof(expire_time) - 1] = '\0';
vty_out(vty, " Expiration Time: %s%s", expire_time, VTY_NEWLINE);
reqs = 0;
llist_for_each(entry, &vsub->cs.requests)
reqs += 1;