Commit 6b495f4c authored by Daniel Marjamäki's avatar Daniel Marjamäki Committed by Greg Kroah-Hartman

[PATCH] USB: isp116x-hcd.c: Removed unused variable

Removed unused variable
Signed-off-by: default avatarDaniel Marjamki <daniel.marjamaki@comhem.se>
Signed-off-by: default avatarOlav Kongas <ok@artecdesign.ee>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0e8eb0f0
...@@ -154,13 +154,11 @@ static void pack_fifo(struct isp116x *isp116x) ...@@ -154,13 +154,11 @@ static void pack_fifo(struct isp116x *isp116x)
struct ptd *ptd; struct ptd *ptd;
int buflen = isp116x->atl_last_dir == PTD_DIR_IN int buflen = isp116x->atl_last_dir == PTD_DIR_IN
? isp116x->atl_bufshrt : isp116x->atl_buflen; ? isp116x->atl_bufshrt : isp116x->atl_buflen;
int ptd_count = 0;
isp116x_write_reg16(isp116x, HCuPINT, HCuPINT_AIIEOT); isp116x_write_reg16(isp116x, HCuPINT, HCuPINT_AIIEOT);
isp116x_write_reg16(isp116x, HCXFERCTR, buflen); isp116x_write_reg16(isp116x, HCXFERCTR, buflen);
isp116x_write_addr(isp116x, HCATLPORT | ISP116x_WRITE_OFFSET); isp116x_write_addr(isp116x, HCATLPORT | ISP116x_WRITE_OFFSET);
for (ep = isp116x->atl_active; ep; ep = ep->active) { for (ep = isp116x->atl_active; ep; ep = ep->active) {
++ptd_count;
ptd = &ep->ptd; ptd = &ep->ptd;
dump_ptd(ptd); dump_ptd(ptd);
dump_ptd_out_data(ptd, ep->data); dump_ptd_out_data(ptd, ep->data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment