aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-10-31 03:41:59 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-31 03:41:59 -0400
commitd5917a35ac0d8ebfb4a7d0db3b66054009bd4f37 (patch)
tree531bfa38189c55c32b7060da7e18e52981082c95 /net/xfrm/xfrm_policy.c
parenta1744d3bee19d3b9cbfb825ab316a101b9c9f109 (diff)
xfrm: C99 for xfrm_dev_notifier
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r--net/xfrm/xfrm_policy.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 9d88c3df804a..f072598c8d68 100644
--- 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
2381} 2381}
2382 2382
2383static struct notifier_block xfrm_dev_notifier = { 2383static struct notifier_block xfrm_dev_notifier = {
2384 xfrm_dev_event, 2384 .notifier_call = xfrm_dev_event,
2385 NULL,
2386 0
2387}; 2385};
2388 2386
2389#ifdef CONFIG_XFRM_STATISTICS 2387#ifdef CONFIG_XFRM_STATISTICS