mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
[PATCH] USB: isp116x-hcd.c: Removed unused variable
Removed unused variable Signed-off-by: Daniel Marjamki <daniel.marjamaki@comhem.se> Signed-off-by: Olav Kongas <ok@artecdesign.ee> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
0e8eb0f06b
commit
6b495f4c5a
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue