summaryrefslogtreecommitdiffstats
path: root/drivers/staging/csr/firmware.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/firmware.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/firmware.c')
-rw-r--r--drivers/staging/csr/firmware.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/csr/firmware.c b/drivers/staging/csr/firmware.c
index 881acc9..1d1c103 100644
--- a/drivers/staging/csr/firmware.c
+++ b/drivers/staging/csr/firmware.c
@@ -70,7 +70,6 @@ unifi_fw_read_start(void *ospriv, s8 is_fw, const card_info_t *info)
}
/* Set up callback struct for readfunc() */
if (priv->fw_sta.dl_data != NULL) {
- func_exit();
return &priv->fw_sta;
}
@@ -78,7 +77,6 @@ unifi_fw_read_start(void *ospriv, s8 is_fw, const card_info_t *info)
unifi_error(priv, "downloading firmware... unknown request: %d\n", is_fw);
}
- func_exit();
return NULL;
} /* unifi_fw_read_start() */
@@ -112,7 +110,6 @@ unifi_fw_read_stop(void *ospriv, void *dlpriv)
uf_release_firmware(priv, dl_struct);
}
- func_exit();
} /* unifi_fw_read_stop() */
@@ -142,14 +139,12 @@ unifi_fw_open_buffer(void *ospriv, void *fwbuf, u32 len)
unifi_priv_t *priv = (unifi_priv_t*)ospriv;
if (fwbuf == NULL) {
- func_exit();
return NULL;
}
priv->fw_conv.dl_data = fwbuf;
priv->fw_conv.dl_len = len;
priv->fw_conv.fw_desc = NULL; /* No OS f/w resource is associated */
- func_exit();
return &priv->fw_conv;
}
OpenPOWER on IntegriCloud