Alan Stern d617bc83ff USB: cleanup for previous patches
This patch (as951) cleans up a few loose ends from earlier patches.
Redundant checks for non-NULL urb->dev are removed, as are checks of
urb->dev->bus (which can never be NULL).  Conversely, a check for
non-NULL urb->ep is added to the unlink paths.

A homegrown round-down-to-power-of-2 loop is simplified by using the
ilog2 routine.  The comparison in usb_urb_dir_in() is made more
transparent.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:55:01 -07:00
..
2007-08-09 08:39:22 -07:00
2007-08-11 15:47:40 -07:00
2007-10-12 14:05:17 +10:00
2007-10-12 14:55:01 -07:00
2007-08-18 17:15:17 -07:00
2007-07-18 16:53:49 +03:00
2007-07-20 11:13:35 +02:00
2007-07-31 15:39:41 -07:00
2007-07-26 11:35:16 -07:00