]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/core/utils.c
Merge tag 'for-3.5' of git://openrisc.net/jonas/linux
[karo-tx-linux.git] / net / core / utils.c
index dc3c3faff2f4a70e878953dc8ba910308182b728..39895a65e54ae59d35144c656c37483b43efcf87 100644 (file)
@@ -58,14 +58,11 @@ __be32 in_aton(const char *str)
        int i;
 
        l = 0;
-       for (i = 0; i < 4; i++)
-       {
+       for (i = 0; i < 4; i++) {
                l <<= 8;
-               if (*str != '\0')
-               {
+               if (*str != '\0') {
                        val = 0;
-                       while (*str != '\0' && *str != '.' && *str != '\n')
-                       {
+                       while (*str != '\0' && *str != '.' && *str != '\n') {
                                val *= 10;
                                val += *str - '0';
                                str++;