Commit 3542dfc0 authored by Alessandro Rubini's avatar Alessandro Rubini

wrs-socket: removed unused rtag in timestamps

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent f8f1263d
......@@ -272,7 +272,6 @@ static void poll_tx_timestamp(struct wrs_socket *s, int fd,
} control;
struct cmsghdr *cmsg;
int res;
uint32_t rtag;
struct sock_extended_err *serr = NULL;
struct scm_timestamping *sts = NULL;
......@@ -295,8 +294,6 @@ static void poll_tx_timestamp(struct wrs_socket *s, int fd,
if (res <= 0)
return;
memcpy(&rtag, data + res - 4, 4);
for (cmsg = CMSG_FIRSTHDR(&msg);
cmsg;
cmsg = CMSG_NXTHDR(&msg, cmsg)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment