From: Alexey Dobriyan Date: Fri, 31 Oct 2008 07:41:59 +0000 (-0700) Subject: xfrm: C99 for xfrm_dev_notifier X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d5917a35ac0d8ebfb4a7d0db3b66054009bd4f37;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git xfrm: C99 for xfrm_dev_notifier Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- 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 } static struct notifier_block xfrm_dev_notifier = { - xfrm_dev_event, - NULL, - 0 + .notifier_call = xfrm_dev_event, }; #ifdef CONFIG_XFRM_STATISTICS