diff options
author | Michael Büsch <m@bues.ch> | 2018-07-31 23:15:09 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-08-09 18:47:47 +0300 |
commit | 209b43759d65b2cc99ce7757249aacc82b03c4e2 (patch) | |
tree | 174ddf048de1dcaea4673e22f619bd93995b59be /include | |
parent | b8b6069cf2087545fe53ec920e8353133e9a70bf (diff) | |
download | linux-209b43759d65b2cc99ce7757249aacc82b03c4e2.tar.xz |
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')
-rw-r--r-- | include/linux/ssb/ssb.h | 2 |
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 { |