ipv6: Use BUG_ON
authorHimangi Saraogi <[email protected]>
Fri, 11 Jul 2014 20:27:17 +0000 (01:57 +0530)
committerDavid S. Miller <[email protected]>
Fri, 11 Jul 2014 22:06:38 +0000 (15:06 -0700)
commite3f0b86b996d86940357e5ca9788771618d731f1
treeb51950c02c5b28c5156b858040b2d932167440d9
parent8242fc33925c8da802b651a702a902a204142e22
ipv6: Use BUG_ON

The semantic patch that makes this transformation is as follows:

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

Signed-off-by: Himangi Saraogi <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv6/ip6_output.c