xfrm: remove stray synchronize_rcu from xfrm_init
authorFlorian Westphal <fw@strlen.de>
Wed, 14 Apr 2021 16:12:52 +0000 (18:12 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 19 Apr 2021 10:25:11 +0000 (12:25 +0200)
commit7baf867fef7cc65d666792e9d1b911beffe74ad7
tree3f9aaa3fdc68128eb59b959c1870d53505793757
parentb07dd26f07af294ceed9715fd11e312ff8de6138
xfrm: remove stray synchronize_rcu from xfrm_init

This function is called during boot, from ipv4 stack, there is no need
to set the pointer to NULL (static storage duration, so already NULL).

No need for the synchronize_rcu either.  Remove both.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_policy.c