OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea85a0a
)
af_unix: remove 0 assignment on static
author
Fabian Frederick
<fabf@skynet.be>
Tue, 7 Oct 2014 21:02:15 +0000
(23:02 +0200)
committer
David S. Miller
<davem@davemloft.net>
Tue, 7 Oct 2014 21:03:14 +0000
(17:03 -0400)
static values are automatically initialized to 0
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/garbage.c
patch
|
blob
|
history
diff --git
a/net/unix/garbage.c
b/net/unix/garbage.c
index
9bc73f8
..
99f7012
100644
(file)
--- a/
net/unix/garbage.c
+++ b/
net/unix/garbage.c
@@
-258,7
+258,7
@@
static void inc_inflight_move_tail(struct unix_sock *u)
list_move_tail(&u->link, &gc_candidates);
}
-static bool gc_in_progress
= false
;
+static bool gc_in_progress;
#define UNIX_INFLIGHT_TRIGGER_GC 16000
void wait_for_unix_gc(void)