diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-10-27 02:10:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-29 17:54:34 -0400 |
commit | 1f5466b0a6c82a1489f5d1ff9ef20c919b56a2cc (patch) | |
tree | 385f2bd949909c1603a35552605ec09b638e31ac /drivers/staging/csr/unifi_os.h | |
parent | 75254af8908501f9cfc6be878c595da02859a0b5 (diff) |
staging: csr: remove func_exit_r macro
this macro is used for debugging purposes,
it actually defined as
if (unifi_debug >= 5) {
printk("unifi: <= %s %d\n", __FUNCTION__, (int)rc);
}
which produces too many of those prints if the unifi_debug is >=5.
remove these calls and the macro itself altogether
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr/unifi_os.h')
-rw-r--r-- | drivers/staging/csr/unifi_os.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/csr/unifi_os.h b/drivers/staging/csr/unifi_os.h index c72b3a6266a..56a26982070 100644 --- a/drivers/staging/csr/unifi_os.h +++ b/drivers/staging/csr/unifi_os.h | |||
@@ -61,14 +61,6 @@ extern int unifi_debug; | |||
61 | * etc. | 61 | * etc. |
62 | */ | 62 | */ |
63 | 63 | ||
64 | #define func_exit_r(_rc) \ | ||
65 | do { \ | ||
66 | if (unifi_debug >= 5) { \ | ||
67 | printk("unifi: <= %s %d\n", __FUNCTION__, (int)(_rc)); \ | ||
68 | } \ | ||
69 | } while (0) | ||
70 | |||
71 | |||
72 | #define ASSERT(cond) \ | 64 | #define ASSERT(cond) \ |
73 | do { \ | 65 | do { \ |
74 | if (!(cond)) { \ | 66 | if (!(cond)) { \ |
@@ -95,7 +87,6 @@ void unifi_trace(void* ospriv, int level, const char *fmt, ...); | |||
95 | #else | 87 | #else |
96 | 88 | ||
97 | /* Stubs */ | 89 | /* Stubs */ |
98 | #define func_exit_r(_rc) | ||
99 | 90 | ||
100 | #define ASSERT(cond) | 91 | #define ASSERT(cond) |
101 | 92 | ||