net: ipv6: Use BUG_ON
authorHimangi Saraogi <himangi774@gmail.com>
Fri, 11 Jul 2014 20:25:38 +0000 (01:55 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jul 2014 22:06:38 +0000 (15:06 -0700)
commit8242fc33925c8da802b651a702a902a204142e22
tree765d448c08880ad8ae1bbaa0219306006bf2bf82
parentbc91b0f07ada5535427373a4e2050877bcc12218
net: ipv6: Use BUG_ON

The semantic patch that makes the transformation is as follows:

// <smpl>
@@ expression e; @@
-if (e) BUG();
+BUG_ON(e);
// </smpl>

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/raw.c