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:58 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-29 21:54:34 (GMT)
commit438d2d1329914da8fdf3a8aedac8ce7e5ffad26d (patch)
tree63236589209ff35e840bbae5753ce714ac16ae23 /drivers/staging/csr/unifi_os.h
parentcb1f6268acd7f1bca7153fa9ca187ffb73f60ab8 (diff)
downloadlinux-fsl-qoriq-438d2d1329914da8fdf3a8aedac8ce7e5ffad26d.tar.xz
staging: csr: remove func_enter 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 4e63a94..13c7d86 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_enter() \
- do { \
- if (unifi_debug >= 5) { \
- printk("unifi: => %s\n", __FUNCTION__); \
- } \
- } while (0)
#define func_exit() \
do { \
if (unifi_debug >= 5) { \
@@ -107,7 +101,6 @@ void unifi_trace(void* ospriv, int level, const char *fmt, ...);
#else
/* Stubs */
-#define func_enter()
#define func_exit()
#define func_exit_r(_rc)