Julia Lawall 6fc6148865 target: Convert target_core_rd.c to use use BUG_ON
Use BUG_ON(x) rather than if(x) BUG();

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@ identifier x; @@
-if (x) BUG();
+BUG_ON(x);

@@ identifier x; @@
-if (!x) BUG();
+BUG_ON(!x);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2011-08-22 19:26:17 +00:00
..
2011-08-05 22:16:42 -04:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-28 01:30:07 -07:00
2011-07-26 16:49:47 -07:00
2011-08-11 10:14:18 -07:00
2011-07-22 14:39:51 +09:30
2011-08-13 14:50:32 -04:00
2011-07-26 16:49:47 -07:00
2011-07-25 21:00:19 -07:00
2011-08-03 16:44:21 +02:00
2011-07-26 16:49:47 -07:00
2011-08-07 15:51:45 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00