Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Daniel Marjam�ki and committed by
Greg Kroah-Hartman
6b495f4c 0e8eb0f0

-2
-2
drivers/usb/host/isp116x-hcd.c
··· 154 154 struct ptd *ptd; 155 155 int buflen = isp116x->atl_last_dir == PTD_DIR_IN 156 156 ? isp116x->atl_bufshrt : isp116x->atl_buflen; 157 - int ptd_count = 0; 158 157 159 158 isp116x_write_reg16(isp116x, HCuPINT, HCuPINT_AIIEOT); 160 159 isp116x_write_reg16(isp116x, HCXFERCTR, buflen); 161 160 isp116x_write_addr(isp116x, HCATLPORT | ISP116x_WRITE_OFFSET); 162 161 for (ep = isp116x->atl_active; ep; ep = ep->active) { 163 - ++ptd_count; 164 162 ptd = &ep->ptd; 165 163 dump_ptd(ptd); 166 164 dump_ptd_out_data(ptd, ep->data);