netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/3][NET] gen_estimator: gen_replace_estimator() cosmetic changes
@ 2008-01-20 23:51 Jarek Poplawski
  2008-01-21 10:36 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jarek Poplawski @ 2008-01-20 23:51 UTC (permalink / raw)
  To: netdev; +Cc: Badalian Vyacheslav, Patrick McHardy, jamal, David Miller

White spaces etc. are changed in gen_replace_estimator() to make it similar
to others in a file.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>

---

diff -Nurp 2.6.24-rc8-mm1-p2-/net/core/gen_estimator.c 2.6.24-rc8-mm1-p2+/net/core/gen_estimator.c
--- 2.6.24-rc8-mm1-p2-/net/core/gen_estimator.c	2008-01-20 21:07:42.000000000 +0100
+++ 2.6.24-rc8-mm1-p2+/net/core/gen_estimator.c	2008-01-20 21:15:36.000000000 +0100
@@ -275,7 +275,7 @@ static void gen_kill_estimator_find(stru
 }
 
 /**
- * gen_replace_estimator - replace rate estimator configruation
+ * gen_replace_estimator - replace rate estimator configuration
  * @bstats: basic statistics
  * @rate_est: rate estimator statistics
  * @stats_lock: statistics lock
@@ -286,13 +286,12 @@ static void gen_kill_estimator_find(stru
  *
  * Returns 0 on success or a negative error code.
  */
-int
-gen_replace_estimator(struct gnet_stats_basic *bstats,
-	struct gnet_stats_rate_est *rate_est, spinlock_t *stats_lock,
-	struct rtattr *opt)
+int gen_replace_estimator(struct gnet_stats_basic *bstats,
+			  struct gnet_stats_rate_est *rate_est,
+			  spinlock_t *stats_lock, struct rtattr *opt)
 {
-    gen_kill_estimator(bstats, rate_est);
-    return gen_new_estimator(bstats, rate_est, stats_lock, opt);
+	gen_kill_estimator(bstats, rate_est);
+	return gen_new_estimator(bstats, rate_est, stats_lock, opt);
 }
 
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-21 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-20 23:51 [PATCH 3/3][NET] gen_estimator: gen_replace_estimator() cosmetic changes Jarek Poplawski
2008-01-21 10:36 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).