diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2012-11-09 00:23:04 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-11-09 01:42:02 +0400 |
commit | 8166ea07cb89208f6beb9aa6aed554250f150cc8 (patch) | |
tree | 61819564104958cdb33a1130360b832600d6746b /drivers/isdn | |
parent | 926ccfef82413623ae0e5c3a32d0cad2b9f33e96 (diff) | |
download | linux-8166ea07cb89208f6beb9aa6aed554250f150cc8.tar.xz |
alpha: use BUG_ON where possible
Just use BUG_ON() instead of constructions such as:
if (...)
BUG()
A simplified version of the semantic patch that makes this transformation
is as follows: (http://coccinelle.lip6.fr/)
// <smpl>
@@
expression e;
@@
- if (e) BUG();
+ BUG_ON(e);
// </smpl>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions