question on smsc95xx
Subsystems (2)
Hi,
I am looking at this code:
static void smsc95xx_async_cmd_callback(struct urb *urb, struct pt_regs *regs)
{
struct usb_context *usb_context = urb->context;
struct usbnet *dev = usb_context->dev;
int status = urb->status;
if (status < 0)
devwarn(dev, "async callback failed with %d", status);
complete(&usb_context->notify);is there some ultradeep reason for using complete here? I cannot see that serving any purpose whatsoever.
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html