Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314958
b: refs/heads/master
c: 0c5e45b
h: refs/heads/master
v: v3
  • Loading branch information
Marek Lindner authored and Antonio Quartulli committed Jul 1, 2012
1 parent 23f5901 commit cd3fba6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0aca2369b19de3f3f1affcc5359c3d079e4e1940
refs/heads/master: 0c5e45b63d22c6efa6f829c617d8f36688e53c5d
3 changes: 1 addition & 2 deletions trunk/net/batman-adv/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,8 @@ static inline void batadv_add_counter(struct batadv_priv *bat_priv, size_t idx,
static inline uint64_t batadv_sum_counter(struct batadv_priv *bat_priv,
size_t idx)
{
uint64_t *counters;
uint64_t *counters, sum = 0;
int cpu;
int sum = 0;

for_each_possible_cpu(cpu) {
counters = per_cpu_ptr(bat_priv->bat_counters, cpu);
Expand Down

0 comments on commit cd3fba6

Please sign in to comment.