summaryrefslogtreecommitdiffstats
path: root/drivers/staging/csr/csr_wifi_hip_dump.c
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-10-27 02:09:59 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-29 14:54:34 -0700
commit75254af8908501f9cfc6be878c595da02859a0b5 (patch)
treea8ce622d23c5b336ba5821183edebcfbc69ba262 /drivers/staging/csr/csr_wifi_hip_dump.c
parent438d2d1329914da8fdf3a8aedac8ce7e5ffad26d (diff)
downloadop-kernel-dev-75254af8908501f9cfc6be878c595da02859a0b5.zip
op-kernel-dev-75254af8908501f9cfc6be878c595da02859a0b5.tar.gz
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/csr_wifi_hip_dump.c')
-rw-r--r--drivers/staging/csr/csr_wifi_hip_dump.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/csr/csr_wifi_hip_dump.c b/drivers/staging/csr/csr_wifi_hip_dump.c
index cf33b63..c167151 100644
--- a/drivers/staging/csr/csr_wifi_hip_dump.c
+++ b/drivers/staging/csr/csr_wifi_hip_dump.c
@@ -774,7 +774,6 @@ CsrResult unifi_coredump_init(card_t *card, u16 num_dump_buffers)
done:
#endif
- func_exit();
return CSR_RESULT_SUCCESS;
#ifndef UNIFI_DISABLE_COREDUMP
@@ -782,7 +781,6 @@ fail:
/* Unwind what we allocated so far */
unifi_error(ospriv, "Out of memory allocating core dump node %d\n", i);
unifi_coredump_free(card);
- func_exit();
return CSR_WIFI_HIP_RESULT_NO_MEMORY;
#endif
} /* unifi_coreump_init() */
@@ -841,8 +839,6 @@ void unifi_coredump_free(card_t *card)
card->dump_buf = NULL;
card->dump_next_write = NULL;
card->dump_cur_read = NULL;
-
- func_exit();
} /* unifi_coredump_free() */
OpenPOWER on IntegriCloud