From de3c154f485d19611fc83bd64e08a567b8559516 Mon Sep 17 00:00:00 2001 From: Atis Elsts Date: Tue, 18 Dec 2018 16:52:40 +0000 Subject: [PATCH] UDP example code cleanup --- examples/libs/ipv6-uipbuf/udp-client.c | 3 --- examples/rpl-udp/udp-client.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/examples/libs/ipv6-uipbuf/udp-client.c b/examples/libs/ipv6-uipbuf/udp-client.c index bee1cda83..5616874b5 100644 --- a/examples/libs/ipv6-uipbuf/udp-client.c +++ b/examples/libs/ipv6-uipbuf/udp-client.c @@ -12,9 +12,6 @@ #define UDP_CLIENT_PORT 8765 #define UDP_SERVER_PORT 5678 -static struct simple_udp_connection udp_conn; - -#define START_INTERVAL (15 * CLOCK_SECOND) #define SEND_INTERVAL (60 * CLOCK_SECOND) static struct simple_udp_connection udp_conn; diff --git a/examples/rpl-udp/udp-client.c b/examples/rpl-udp/udp-client.c index 7f24c8bac..5dc7a0763 100644 --- a/examples/rpl-udp/udp-client.c +++ b/examples/rpl-udp/udp-client.c @@ -12,9 +12,6 @@ #define UDP_CLIENT_PORT 8765 #define UDP_SERVER_PORT 5678 -static struct simple_udp_connection udp_conn; - -#define START_INTERVAL (15 * CLOCK_SECOND) #define SEND_INTERVAL (60 * CLOCK_SECOND) static struct simple_udp_connection udp_conn;