]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
xfrm: policy: xfrm_policy_unregister_afinfo can return void
authorFlorian Westphal <fw@strlen.de>
Tue, 7 Feb 2017 14:00:15 +0000 (15:00 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 9 Feb 2017 09:22:17 +0000 (10:22 +0100)
commit2b61997aa0c68ae033d066ac2d9905ada81b761a
treea335e1a8dff3bf966f1cf17243420b87e3306a81
parentf5e2bb4f5b2252e8f170f59bece2cf9a2efc8e6a
xfrm: policy: xfrm_policy_unregister_afinfo can return void

Nothing checks the return value. Also, the errors returned on unregister
are impossible (we only support INET and INET6, so no way
xfrm_policy_afinfo[afinfo->family] can be anything other than 'afinfo'
itself).

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