speedtch usbatm.c,1.9,1.10
Duncan Sands
duncan at infradead.org
Mon Feb 7 11:53:59 EST 2005
Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv15436
Modified Files:
usbatm.c
Log Message:
Remove unused variable when !DEBUG - from Roman.
Index: usbatm.c
===================================================================
RCS file: /home/cvs/speedtch/usbatm.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- usbatm.c 7 Feb 2005 16:49:42 -0000 1.9
+++ usbatm.c 7 Feb 2005 16:53:55 -0000 1.10
@@ -1037,11 +1037,12 @@
struct usbatm_data *instance;
char *buf;
int error = -ENOMEM;
- int ifnum = intf->altsetting->desc.bInterfaceNumber;
int i, length;
int need_heavy;
- dev_dbg(&intf->dev, "trying device with vendor=0x%x, product=0x%x, ifnum %d\n", dev->descriptor.idVendor, dev->descriptor.idProduct, ifnum);
+ dev_dbg(&intf->dev, "trying device with vendor=0x%x, product=0x%x, ifnum %d\n",
+ dev->descriptor.idVendor, dev->descriptor.idProduct,
+ intf->altsetting->desc.bInterfaceNumber);
/* instance init */
if (!(instance = kmalloc(sizeof(*instance), GFP_KERNEL))) {
More information about the Usbatm-commits
mailing list