diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-10-27 02:10:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-29 14:54:34 -0700 |
commit | 1f5466b0a6c82a1489f5d1ff9ef20c919b56a2cc (patch) | |
tree | 385f2bd949909c1603a35552605ec09b638e31ac /drivers/staging/csr/sme_wext.c | |
parent | 75254af8908501f9cfc6be878c595da02859a0b5 (diff) |
staging: csr: remove func_exit_r macro
this macro is used for debugging purposes,
it actually defined as
if (unifi_debug >= 5) {
printk("unifi: <= %s %d\n", __FUNCTION__, (int)rc);
}
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/sme_wext.c')
-rw-r--r-- | drivers/staging/csr/sme_wext.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/csr/sme_wext.c b/drivers/staging/csr/sme_wext.c index 9b8385b5142..5e06a380b40 100644 --- a/drivers/staging/csr/sme_wext.c +++ b/drivers/staging/csr/sme_wext.c @@ -2202,7 +2202,6 @@ unifi_siwencode(struct net_device *dev, struct iw_request_info *info, CSR_WIFI_SME_ENCRYPTION_CIPHER_NONE; } - func_exit_r(rc); return convert_sme_error(rc); } /* unifi_siwencode() */ @@ -2453,7 +2452,6 @@ unifi_siwmlme(struct net_device *dev, struct iw_request_info *info, UF_RTNL_LOCK(); break; default: - func_exit_r(-EOPNOTSUPP); return -EOPNOTSUPP; } |