On 2011-06-17 at 11:00:29 +0200, Joey Lee <jlee@xxxxxxxxxx> wrote: > ??? ??????2011-06-16 ??? 13:38 +0200???Tobias Klauser ????????? > > Use a local pointer to reference the urb instead of dereferencing the > > priv->urb member all over the function. > > > > What's the benefit for use local pointer to instead of priv->urb? Does > it for coding style? Dereferencing a pointer can be an expensive operation, depending on the (cache) architecture. Also it helps readability. Cheers Tobias _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel