Johan Hovold <[email protected]> writes:
> + if ((!bulk_in || *bulk_in) && (!bulk_out || *bulk_out) &&
> + (!int_in || *int_in) && (!int_out || *int_out)) {
> + return true;
> + }
> +
> + return false;
> +}
Maybe I asked this before and got a good answer? I don't remember...
But why not
return (!bulk_in || *bulk_in) && (!bulk_out || *bulk_out) &&
(!int_in || *int_in) && (!int_out || *int_out);
?
Bjørn
--
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