fixed a coding style issue in net/core/sock.c

From: Jeffrin Jose <hidden>
Date: 2012-04-25 14:06:22
Also in: lkml
Subsystem: networking [general], networking [sockets], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Kuniyuki Iwashima, Willem de Bruijn, Linus Torvalds

hello .

I have fixed a coding style issue relating
to spaces in net/core/sock.c

From e05ee2cbdea9a888695f01358fa2ea53ddb2a49b Mon Sep 17 00:00:00 2001
From: Jeffrin Jose <redacted>
Date: Wed, 25 Apr 2012 19:17:29 +0530
Subject: [PATCH 8/8] net:Fixed a coding style issue related to spaces.

Fixed a coding style issue relating to spaces
in net/core/sock.c
Signed-off-by: Jeffrin Jose <redacted>
---
 net/core/sock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/core/sock.c b/net/core/sock.c
index 02f8dfe..65cdc19 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -2556,7 +2556,7 @@ static char proto_method_implemented(const void *method)
 }
 static long sock_prot_memory_allocated(struct proto *proto)
 {
-	return proto->memory_allocated != NULL ? proto_memory_allocated(proto): -1L;
+	return proto->memory_allocated != NULL ? proto_memory_allocated(proto) : -1L;
 }
 
 static char *sock_prot_memory_pressure(struct proto *proto)
-- 
1.7.9



/Jeffrin.


-- 
software engineer
Bohr Lab
department of computer science
Rajagiri school of engineering and technology.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help