diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2012-11-08 15:23:04 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-11-08 22:42:02 +0100 |
commit | 8166ea07cb89208f6beb9aa6aed554250f150cc8 (patch) | |
tree | 61819564104958cdb33a1130360b832600d6746b /drivers/isdn/hisax/hfc_sx.c | |
parent | 926ccfef82413623ae0e5c3a32d0cad2b9f33e96 (diff) | |
download | linux-8166ea07cb89208f6beb9aa6aed554250f150cc8.tar.bz2 |
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/hisax/hfc_sx.c')
0 files changed, 0 insertions, 0 deletions