gen_estimator: gen_replace_estimator() cosmetic changes
Subsystems (2)
PATCH 3/3 gen_estimator: gen_replace_estimator() cosmetic changes
White spaces etc. are changed in gen_replace_estimator() to make it similar to others in a file.
Signed-off-by Jarek Poplawski <[email protected]>
---
net/core/gen_estimator.c +6 -7
@@ -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); }
From: Jarek Poplawski <[email protected]>
Date: Mon, 21 Jan 2008 00:51:15 +0100
Quoted 4 lines
White spaces etc. are changed in
gen_replace_estimator()to make it similar to others in a file.Signed-off-by Jarek Poplawski <[email protected]>
Applied to net-2.6.25, thanks.