aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorDaniel Marjamäki <daniel.marjamaki@comhem.se>2005-12-13 08:30:20 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-04 16:51:43 -0500
commit6b495f4c5accec6261f522ea6898580dc9cb6316 (patch)
tree750143d60621b245d30aa9df0cb030678634380f /drivers/usb
parent0e8eb0f06b21bc05c42bcdbb6b273fce59ba9689 (diff)
[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 'drivers/usb')
-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)
154 struct ptd *ptd; 154 struct ptd *ptd;
155 int buflen = isp116x->atl_last_dir == PTD_DIR_IN 155 int buflen = isp116x->atl_last_dir == PTD_DIR_IN
156 ? isp116x->atl_bufshrt : isp116x->atl_buflen; 156 ? isp116x->atl_bufshrt : isp116x->atl_buflen;
157 int ptd_count = 0;
158 157
159 isp116x_write_reg16(isp116x, HCuPINT, HCuPINT_AIIEOT); 158 isp116x_write_reg16(isp116x, HCuPINT, HCuPINT_AIIEOT);
160 isp116x_write_reg16(isp116x, HCXFERCTR, buflen); 159 isp116x_write_reg16(isp116x, HCXFERCTR, buflen);
161 isp116x_write_addr(isp116x, HCATLPORT | ISP116x_WRITE_OFFSET); 160 isp116x_write_addr(isp116x, HCATLPORT | ISP116x_WRITE_OFFSET);
162 for (ep = isp116x->atl_active; ep; ep = ep->active) { 161 for (ep = isp116x->atl_active; ep; ep = ep->active) {
163 ++ptd_count;
164 ptd = &ep->ptd; 162 ptd = &ep->ptd;
165 dump_ptd(ptd); 163 dump_ptd(ptd);
166 dump_ptd_out_data(ptd, ep->data); 164 dump_ptd_out_data(ptd, ep->data);