diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-10-27 06:09:59 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-29 21:54:34 (GMT) |
commit | 75254af8908501f9cfc6be878c595da02859a0b5 (patch) | |
tree | a8ce622d23c5b336ba5821183edebcfbc69ba262 /drivers/staging/csr/monitor.c | |
parent | 438d2d1329914da8fdf3a8aedac8ce7e5ffad26d (diff) | |
download | linux-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/monitor.c')
-rw-r--r-- | drivers/staging/csr/monitor.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/csr/monitor.c b/drivers/staging/csr/monitor.c index 60d52f9..c8e20e4 100644 --- a/drivers/staging/csr/monitor.c +++ b/drivers/staging/csr/monitor.c @@ -202,7 +202,6 @@ netrx_radiotap(unifi_priv_t *priv, priv->stats.rx_packets++; priv->stats.rx_bytes += ind_data_len; - func_exit(); } /* netrx_radiotap() */ #endif /* RADIOTAP */ @@ -314,7 +313,6 @@ netrx_prism(unifi_priv_t *priv, priv->stats.rx_packets++; priv->stats.rx_bytes += ind_data_len; - func_exit(); } /* netrx_prism() */ #endif /* PRISM */ @@ -348,7 +346,6 @@ ma_sniffdata_ind(void *ospriv, if (bulkdata->d[0].data_length == 0) { unifi_warning(priv, "rx: MA-SNIFFDATA indication with zero bulk data\n"); - func_exit(); return; } |