From 46ba5b23c32667821b748b4e0b74667e750621cd Mon Sep 17 00:00:00 2001 From: Jeffrin Jose Date: Sun, 8 Apr 2012 06:07:42 +0000 Subject: 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 Signed-off-by: David S. Miller --- net/core/utils.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'net/core/utils.c') diff --git a/net/core/utils.c b/net/core/utils.c index dc3c3faff2f..39895a65e54 100644 --- a/net/core/utils.c +++ b/net/core/utils.c @@ -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++; -- cgit v1.2.3-18-g5258