From 32a57751252ffe1adc8f3dc95ff937d2daa3f856 Mon Sep 17 00:00:00 2001 From: Alexander Aring Date: Thu, 14 Nov 2013 14:30:08 +0100 Subject: barebox: remove double semicolons Signed-off-by: Alexander Aring Signed-off-by: Sascha Hauer --- net/dns.c | 2 +- net/net.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'net') diff --git a/net/dns.c b/net/dns.c index eb96c57603..afd2663f81 100644 --- a/net/dns.c +++ b/net/dns.c @@ -127,7 +127,7 @@ static void dns_handler(void *ctx, char *packet, unsigned len) debug("%s\n", __func__); /* We sent 1 query. We want to see more that 1 answer. */ - header = (struct header *)net_eth_to_udp_payload(packet);; + header = (struct header *)net_eth_to_udp_payload(packet); if (ntohs(header->nqueries) != 1) return; diff --git a/net/net.c b/net/net.c index 058a4d3285..9ef0784da3 100644 --- a/net/net.c +++ b/net/net.c @@ -433,7 +433,7 @@ void net_unregister(struct net_connection *con) static int net_ip_send(struct net_connection *con, int len) { con->ip->tot_len = htons(sizeof(struct iphdr) + len); - con->ip->id = htons(net_ip_id++);; + con->ip->id = htons(net_ip_id++); con->ip->check = 0; con->ip->check = ~net_checksum((unsigned char *)con->ip, sizeof(struct iphdr)); -- cgit v1.2.3