summaryrefslogtreecommitdiff
path: root/drivers/staging/csr/unifi_os.h
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-10-27 06:09:59 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-29 21:54:34 (GMT)
commit75254af8908501f9cfc6be878c595da02859a0b5 (patch)
treea8ce622d23c5b336ba5821183edebcfbc69ba262 /drivers/staging/csr/unifi_os.h
parent438d2d1329914da8fdf3a8aedac8ce7e5ffad26d (diff)
downloadlinux-fsl-qoriq-75254af8908501f9cfc6be878c595da02859a0b5.tar.xz
staging: csr: remove func_exit macro
this macro is used for debugging purposes, it actually defined as if (unifi_debug >= 5) { printk("unifi: <= %s\n", __FUNCTION__); } 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.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/csr/unifi_os.h b/drivers/staging/csr/unifi_os.h
index 13c7d86..c72b3a6 100644
--- a/drivers/staging/csr/unifi_os.h
+++ b/drivers/staging/csr/unifi_os.h
@@ -61,12 +61,6 @@ extern int unifi_debug;
* etc.
*/
-#define func_exit() \
- do { \
- if (unifi_debug >= 5) { \
- printk("unifi: <= %s\n", __FUNCTION__); \
- } \
- } while (0)
#define func_exit_r(_rc) \
do { \
if (unifi_debug >= 5) { \
@@ -101,7 +95,6 @@ void unifi_trace(void* ospriv, int level, const char *fmt, ...);
#else
/* Stubs */
-#define func_exit()
#define func_exit_r(_rc)
#define ASSERT(cond)