projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f825e
)
decnet: Fix set-but-unused variable.
author
David S. Miller
<davem@davemloft.net>
Sun, 17 Apr 2011 07:14:09 +0000
(
00:14
-0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 17 Apr 2011 07:14:09 +0000
(
00:14
-0700)
"next" in dn_rebuild_zone() is set but not actually used,
kill it off.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_table.c
patch
|
blob
|
blame
|
history
diff --git
a/net/decnet/dn_table.c
b/net/decnet/dn_table.c
index 99d8d3a40998ab4b5d40076786be3390e2d4fea8..d8ea583076cf7f6b7b6bdae42e785fdd5385994f 100644
(file)
--- a/
net/decnet/dn_table.c
+++ b/
net/decnet/dn_table.c
@@
-124,11
+124,10
@@
static inline void dn_rebuild_zone(struct dn_zone *dz,
int old_divisor)
{
int i;
- struct dn_fib_node *f, **fp
, *next
;
+ struct dn_fib_node *f, **fp;
for(i = 0; i < old_divisor; i++) {
for(f = old_ht[i]; f; f = f->fn_next) {
- next = f->fn_next;
for(fp = dn_chain_p(f->fn_key, dz);
*fp && dn_key_leq((*fp)->fn_key, f->fn_key);
fp = &(*fp)->fn_next)