aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/utils.c
diff options
context:
space:
mode:
authorJeffrin Jose <ahiliation@yahoo.co.in>2012-04-08 02:07:42 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-12 16:35:48 -0400
commit46ba5b23c32667821b748b4e0b74667e750621cd (patch)
tree90ff6d9afb03d990ed6a51477701bfe751ab5343 /net/core/utils.c
parent6fdbd1648be5db20d172bcd013c8874bb2000700 (diff)
net: Fixed coding style issues relating to braces.
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>
Diffstat (limited to 'net/core/utils.c')
-rw-r--r--net/core/utils.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/net/core/utils.c b/net/core/utils.c
index dc3c3faff2f4..39895a65e54a 100644
--- a/net/core/utils.c
+++ b/net/core/utils.c
@@ -58,14 +58,11 @@ __be32 in_aton(const char *str)
58 int i; 58 int i;
59 59
60 l = 0; 60 l = 0;
61 for (i = 0; i < 4; i++) 61 for (i = 0; i < 4; i++) {
62 {
63 l <<= 8; 62 l <<= 8;
64 if (*str != '\0') 63 if (*str != '\0') {
65 {
66 val = 0; 64 val = 0;
67 while (*str != '\0' && *str != '.' && *str != '\n') 65 while (*str != '\0' && *str != '.' && *str != '\n') {
68 {
69 val *= 10; 66 val *= 10;
70 val += *str - '0'; 67 val += *str - '0';
71 str++; 68 str++;