Quoting Johannes Erdfelt <[EMAIL PROTECTED]>:
> On Sat, Jan 12, 2002, Bj|rn Augustsson <[EMAIL PROTECTED]> wrote:
> > diff -urN ../../usbutils-0.9/lsusb.c ../../usbutils-0.9-mod/lsusb.c
> > --- ../../usbutils-0.9/lsusb.c      Fri Nov 23 11:57:21 2001
> > +++ ../../usbutils-0.9-mod/lsusb.c  Sat Jan 12 19:51:16 2002
> > @@ -100,7 +100,6 @@
> >     ctrl.value = value;
> >     ctrl.index = index;
> >     ctrl.length = size;
> > -   ctrl.timeout = 1000;
> >     ctrl.data = data;
> >     ctrl.timeout = CTRL_TIMEOUT; 
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >     try = 0;
> 
> I'm a bit suspicious about this part of the patch. Is it really
> necessary?

No, that's what why I removed it. ctrl.timeout gets assigned twice within
three lines of code.

/August.
-- 
Wrong on most accounts.  const Foo *foo; and Foo const *foo; mean the same: foo
being a pointer to const Foo.  const Foo const *foo; would mean the same but is
illegal (double const).  You are confusing this with Foo * const foo; and const
Foo * const foo; respectively. -David Kastrup, comp.os.linux.development.system

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to