speedtch speedtch.c,1.57,1.58
Duncan Sands
duncan at infradead.org
Tue May 3 03:30:45 EDT 2005
Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv31132
Modified Files:
speedtch.c
Log Message:
Avoid unused variable warning when compiling without DEBUG.
Index: speedtch.c
===================================================================
RCS file: /home/cvs/speedtch/speedtch.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- speedtch.c 26 Apr 2005 07:03:19 -0000 1.57
+++ speedtch.c 3 May 2005 07:30:42 -0000 1.58
@@ -510,18 +510,17 @@
static void speedtch_resubmit_int(unsigned long data)
{
struct speedtch_instance_data *instance = (void *)data;
- struct usbatm_data *usbatm = instance->usbatm;
struct urb *int_urb = instance->int_urb;
int ret;
- atm_dbg(usbatm, "%s entered\n", __func__);
+ atm_dbg(instance->usbatm, "%s entered\n", __func__);
if (int_urb) {
ret = usb_submit_urb(int_urb, GFP_ATOMIC);
if (!ret)
schedule_work(&instance->status_checker);
else {
- atm_dbg(usbatm, "%s: usb_submit_urb failed with result %d\n", __func__, ret);
+ atm_dbg(instance->usbatm, "%s: usb_submit_urb failed with result %d\n", __func__, ret);
mod_timer(&instance->resubmit_timer, jiffies + msecs_to_jiffies(RESUBMIT_DELAY));
}
}
More information about the Usbatm-commits
mailing list