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-07-31 15:39:39 -07:00
2007-08-22 19:52:46 -07:00
2007-07-21 18:37:12 -07:00
2007-09-09 22:29:14 +02:00
2007-10-11 19:09:08 +02:00
2007-10-11 22:17:20 -07:00
2007-07-20 14:25:51 +10:00
2007-07-31 15:39:37 -07:00
2007-10-11 11:16:36 +02:00
2007-09-11 17:21:19 -07:00
2007-10-10 16:52:21 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 15:57:16 -07:00
2007-10-12 14:55:01 -07:00
2007-07-26 11:35:17 -07:00