summaryrefslogtreecommitdiffstats
path: root/net/net.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2013-11-14 14:30:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-18 10:13:35 +0100
commit32a57751252ffe1adc8f3dc95ff937d2daa3f856 (patch)
treed96cd31857275b029b1b6b12152c998efeb65eb2 /net/net.c
parentc8daebdfd857feb338f12b2d8cdb95c1ae87698d (diff)
downloadbarebox-32a57751252ffe1adc8f3dc95ff937d2daa3f856.tar.gz
barebox-32a57751252ffe1adc8f3dc95ff937d2daa3f856.tar.xz
barebox: remove double semicolons
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c2
1 files changed, 1 insertions, 1 deletions
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));