Skip to content
Commit de47c5d8 authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by David S. Miller
Browse files

af_key: make use of BUG_ON macro



fix below warnings reported by coccicheck

net/key/af_key.c:932:2-5: WARNING: Use BUG_ON instead of if condition
followed by BUG.
net/key/af_key.c:948:2-5: WARNING: Use BUG_ON instead of if condition
followed by BUG.

Signed-off-by: default avatarHariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 39209673
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment