• Alan Stern's avatar
    [PATCH] USB: Small improvements for devio.c · b5ca4f61
    Alan Stern authored
    devio.c doesn't need to be changed to support the new altsetting
    mechanism, but while looking through it I noticed a couple of places that
    could be improved slightly.  Here they are, just removal of some redundant
    tests (all altsettings for the same interface are guaranteed to have the
    same bInterfaceNumber) and function calls.
    b5ca4f61
devio.c 31.5 KB