diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-09-20 13:45:06 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-09-20 13:45:06 +0000 |
commit | 5d646d3197d8b7fe171388b5d51739dc1927cff5 (patch) | |
tree | f380735865220b42688639b1972aed43260f8f8a /xpp/xtalk/xusb.c | |
parent | c67641e3b7b5f332b950069bfa45a2341164579e (diff) |
dahdi-tools: xpp: cleanup dead code in xtalk
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10714 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/xtalk/xusb.c')
-rw-r--r-- | xpp/xtalk/xusb.c | 24 |
1 files changed, 0 insertions, 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) |