]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/xfrm/xfrm_user.c
net: xfrm_user: use BUG_ON instead of if condition followed by BUG
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 26 Oct 2017 11:31:35 +0000 (06:31 -0500)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 26 Oct 2017 11:51:54 +0000 (13:51 +0200)
commit2fc5f83b92ba93f8f7119461d998bcdb1ac519ac
tree3e72c8777e05534a35916d4353cd114a85b43e02
parentd3cc547d9ccbe223b06e87256fdd571eb63762b7
net: xfrm_user: use BUG_ON instead of if condition followed by BUG

Use BUG_ON instead of if condition followed by BUG.

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_user.c