[Pkg-voip-commits] [dahdi-tools] 93/285: dahdi-tools: xpp: cleanup dead code in xtalk
tzafrir at debian.org
tzafrir at debian.org
Thu Jul 7 19:18:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository dahdi-tools.
commit 44eb7cbb2aeafd2115b9480fbcc98885f8c7583f
Author: Oron Peled <oron.peled at xorcom.com>
Date: Thu Sep 20 13:45:06 2012 +0000
dahdi-tools: xpp: cleanup dead code in xtalk
Signed-off-by: Oron Peled <oron.peled at xorcom.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@10714 17933a7a-c749-41c5-a318-cba88f637d49
---
xpp/xtalk/xusb.c | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/xpp/xtalk/xusb.c b/xpp/xtalk/xusb.c
index 43db944..70bc656 100644
--- a/xpp/xtalk/xusb.c
+++ b/xpp/xtalk/xusb.c
@@ -735,18 +735,6 @@ retry_write:
return ret;
}
if (!ret) {
-#if 0
- FILE *fp;
-
- fp = fopen("/tmp/xusb.log", "a");
- if (!fp) {
- ERR("%s: Failed writing to /tmp/xusb.log\n", __func__);
- return -EFAULT;
- }
- fprintf(fp, "[%ld] bulk_write to endpoint 0x%x short write[%d]: (%d)\n",
- time(NULL), EP_OUT(xusb), retries, ret);
- fclose(fp);
-#endif
ERR("bulk_write to endpoint 0x%x short write[%d]: (%d)\n",
EP_OUT(xusb), retries, ret);
if (retries++ > MAX_RETRIES)
@@ -782,18 +770,6 @@ retry_read:
return ret;
}
if (!ret) {
-#if 0
- FILE *fp;
-
- fp = fopen("/tmp/xusb.log", "a");
- if (!fp) {
- ERR("%s: Failed writing to /tmp/xusb.log\n", __func__);
- return -EFAULT;
- }
- fprintf(fp, "[%ld] bulk_read from endpoint 0x%x short read[%d]: (%d)\n",
- time(NULL), EP_IN(xusb), retries, ret);
- fclose(fp);
-#endif
ERR("bulk_read to endpoint 0x%x short read[%d]: (%d)\n",
EP_IN(xusb), retries, ret);
if (retries++ > MAX_RETRIES)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git
More information about the Pkg-voip-commits
mailing list