aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ssb
diff options
context:
space:
mode:
authorMichael Büsch <m@bues.ch>2018-07-31 22:15:09 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-08-09 18:47:47 +0300
commit209b43759d65b2cc99ce7757249aacc82b03c4e2 (patch)
tree174ddf048de1dcaea4673e22f619bd93995b59be /include/linux/ssb
parentssb: Remove home-grown printk wrappers (diff)
downloadlinux-dev-209b43759d65b2cc99ce7757249aacc82b03c4e2.tar.xz
linux-dev-209b43759d65b2cc99ce7757249aacc82b03c4e2.zip
ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG
Use the standard WARN_ON instead. If a small kernel is desired, WARN_ON can be disabled globally. Also remove SSB_DEBUG. Besides WARN_ON it only adds a tiny debug check. Include this check unconditionally. Signed-off-by: Michael Buesch <m@bues.ch> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/linux/ssb')
-rw-r--r--include/linux/ssb/ssb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ssb/ssb.h b/include/linux/ssb/ssb.h
index 3b43655cabe6..0d5a2691e7e9 100644
--- a/include/linux/ssb/ssb.h
+++ b/include/linux/ssb/ssb.h
@@ -499,11 +499,9 @@ struct ssb_bus {
/* Internal-only stuff follows. Do not touch. */
struct list_head list;
-#ifdef CONFIG_SSB_DEBUG
/* Is the bus already powered up? */
bool powered_up;
int power_warn_count;
-#endif /* DEBUG */
};
enum ssb_quirks {