Patchwork ipvs: fixed style error in ip_vs_sched

login
register
mail settings
Submitter Dragos Foianu
Date July 11, 2013, 7:20 p.m.
Message ID <1373570438-4946-1-git-send-email-dragos.foianu@gmail.com>
Download mbox | patch
Permalink /patch/258613/
State Awaiting Upstream
Headers show

Comments

Dragos Foianu - July 11, 2013, 7:20 p.m.
found with the help of checkpatch.pl

Signed-off-by: Dragos Foianu <dragos.foianu@gmail.com>
---
 net/netfilter/ipvs/ip_vs_sched.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/net/netfilter/ipvs/ip_vs_sched.c b/net/netfilter/ipvs/ip_vs_sched.c
index 4dbcda6..a67980d 100644
--- a/net/netfilter/ipvs/ip_vs_sched.c
+++ b/net/netfilter/ipvs/ip_vs_sched.c
@@ -99,7 +99,7 @@  static struct ip_vs_scheduler *ip_vs_sched_getbyname(const char *sched_name)
 			 */
 			continue;
 		}
-		if (strcmp(sched_name, sched->name)==0) {
+		if (strcmp(sched_name, sched->name) == 0) {
 			/* HIT */
 			mutex_unlock(&ip_vs_sched_mutex);
 			return sched;