Commit 46ba5b23 authored by Jeffrin Jose's avatar Jeffrin Jose Committed by David S. Miller

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: default avatarJeffrin Jose <ahiliation@yahoo.co.in>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6fdbd164
......@@ -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++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment