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/drv.c | |
parent | 75254af8908501f9cfc6be878c595da02859a0b5 (diff) | |
download | op-kernel-dev-1f5466b0a6c82a1489f5d1ff9ef20c919b56a2cc.zip op-kernel-dev-1f5466b0a6c82a1489f5d1ff9ef20c919b56a2cc.tar.gz |
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/drv.c')
-rw-r--r-- | drivers/staging/csr/drv.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/csr/drv.c b/drivers/staging/csr/drv.c index a5e5d77..e92c8d2 100644 --- a/drivers/staging/csr/drv.c +++ b/drivers/staging/csr/drv.c @@ -516,7 +516,6 @@ unifi_read(struct file *filp, char *p, size_t len, loff_t *poff) /* It is our resposibility to free the message buffer. */ kfree(logptr); - func_exit_r(msglen); return msglen; } /* unifi_read() */ @@ -729,8 +728,6 @@ udi_send_signal_raw(unifi_priv_t *priv, unsigned char *buf, int buflen) } #endif - func_exit_r(bytecount); - return bytecount; } /* udi_send_signal_raw */ @@ -925,8 +922,6 @@ unifi_write(struct file *filp, const char *p, size_t len, loff_t *poff) kfree(buf); - func_exit_r(bytes_written); - return bytes_written; } /* unifi_write() */ |