net: Fixed coding style issues relating to braces.
authorJeffrin Jose <ahiliation@yahoo.co.in>
Sun, 8 Apr 2012 06:07:42 +0000 (06:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Apr 2012 20:35:48 +0000 (16:35 -0400)
Fixed coding style issues in net/core/utils.c
in relation with braces placement.

Signed-off-by: Jeffrin Jose <ahiliation@yahoo.co.in>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/utils.c

index dc3c3fa..39895a6 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++;