aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/isp116x-hcd.c
diff options
context:
space:
mode:
authorDaniel Marjamäki <daniel.marjamaki@comhem.se>2005-12-13 15:30:20 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-04 13:51:43 -0800
commit6b495f4c5accec6261f522ea6898580dc9cb6316 (patch)
tree750143d60621b245d30aa9df0cb030678634380f /drivers/usb/host/isp116x-hcd.c
parent[PATCH] USB: Remove unneeded kmalloc() return value casts (diff)
downloadlinux-dev-6b495f4c5accec6261f522ea6898580dc9cb6316.tar.xz
linux-dev-6b495f4c5accec6261f522ea6898580dc9cb6316.zip
[PATCH] USB: isp116x-hcd.c: Removed unused variable
Removed unused variable Signed-off-by: Daniel Marjamäki <daniel.marjamaki@comhem.se> Signed-off-by: Olav Kongas <ok@artecdesign.ee> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to '')
-rw-r--r--drivers/usb/host/isp116x-hcd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c
index 83447919202f..584b8dc65119 100644
--- a/drivers/usb/host/isp116x-hcd.c
+++ b/drivers/usb/host/isp116x-hcd.c
@@ -154,13 +154,11 @@ static void pack_fifo(struct isp116x *isp116x)
struct ptd *ptd;
int buflen = isp116x->atl_last_dir == PTD_DIR_IN
? isp116x->atl_bufshrt : isp116x->atl_buflen;
- int ptd_count = 0;
isp116x_write_reg16(isp116x, HCuPINT, HCuPINT_AIIEOT);
isp116x_write_reg16(isp116x, HCXFERCTR, buflen);
isp116x_write_addr(isp116x, HCATLPORT | ISP116x_WRITE_OFFSET);
for (ep = isp116x->atl_active; ep; ep = ep->active) {
- ++ptd_count;
ptd = &ep->ptd;
dump_ptd(ptd);
dump_ptd_out_data(ptd, ep->data);