]> Git Repo - qemu.git/blobdiff - net/checksum.c
targets (various): use softfloat-helpers.h where we can
[qemu.git] / net / checksum.c
index 4da72a6a6ce1e1da94b7527663f311f6552e3756..aaa4000238ac1cf1d3361009a2c83ec65a144f48 100644 (file)
@@ -16,7 +16,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "net/checksum.h"
 #include "net/eth.h"
 
@@ -43,7 +42,7 @@ uint32_t net_checksum_add_cont(int len, uint8_t *buf, int seq)
 uint16_t net_checksum_finish(uint32_t sum)
 {
     while (sum>>16)
-       sum = (sum & 0xFFFF)+(sum >> 16);
+        sum = (sum & 0xFFFF)+(sum >> 16);
     return ~sum;
 }
 
This page took 0.024953 seconds and 4 git commands to generate.