git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/net: replace BUG() with BUG_ON() if possible
[pandora-kernel.git]
/
drivers
/
net
/
wireless
/
ath9k
/
ath9k.h
diff --git
a/drivers/net/wireless/ath9k/ath9k.h
b/drivers/net/wireless/ath9k/ath9k.h
index
2689a08
..
7b1b40a
100644
(file)
--- a/
drivers/net/wireless/ath9k/ath9k.h
+++ b/
drivers/net/wireless/ath9k/ath9k.h
@@
-53,11
+53,7
@@
struct ath_node;
#define A_MAX(a, b) ((a) > (b) ? (a) : (b))
-#define ASSERT(exp) do { \
- if (unlikely(!(exp))) { \
- BUG(); \
- } \
- } while (0)
+#define ASSERT(exp) BUG_ON(!(exp))
#define TSF_TO_TU(_h,_l) \
((((u32)(_h)) << 22) | (((u32)(_l)) >> 10))