summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/session.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/accel-pppd/session.c b/accel-pppd/session.c
index c6d0a3f..1efad5e 100644
--- a/accel-pppd/session.c
+++ b/accel-pppd/session.c
@@ -274,7 +274,6 @@ static void generate_sessionid(struct ap_session *ses)
int __export ap_session_read_stats(struct ap_session *ses, struct rtnl_link_stats *stats)
{
struct rtnl_link_stats lstats;
- time_t t;
if (ses->ifindex == -1)
return -1;
@@ -282,8 +281,6 @@ int __export ap_session_read_stats(struct ap_session *ses, struct rtnl_link_stat
if (!stats)
stats = &lstats;
- time(&t);
-
if (iplink_get_stats(ses->ifindex, stats)) {
log_ppp_warn("failed to get interface statistics\n");
return -1;