projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1744d3
)
xfrm: C99 for xfrm_dev_notifier
author
Alexey Dobriyan
<adobriyan@gmail.com>
Fri, 31 Oct 2008 07:41:59 +0000
(
00:41
-0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 31 Oct 2008 07:41:59 +0000
(
00:41
-0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c
patch
|
blob
|
history
diff --git
a/net/xfrm/xfrm_policy.c
b/net/xfrm/xfrm_policy.c
index 9d88c3df804a7ff30f4a294b2b65c8cb97aba1f8..f072598c8d688d94accc20ba2f40460c3a823b3e 100644
(file)
--- a/
net/xfrm/xfrm_policy.c
+++ b/
net/xfrm/xfrm_policy.c
@@
-2381,9
+2381,7
@@
static int xfrm_dev_event(struct notifier_block *this, unsigned long event, void
}
static struct notifier_block xfrm_dev_notifier = {
- xfrm_dev_event,
- NULL,
- 0
+ .notifier_call = xfrm_dev_event,
};
#ifdef CONFIG_XFRM_STATISTICS