From: Alan Stern Date: Thu, 2 Aug 2007 19:04:52 +0000 (-0400) Subject: USB: cleanup for previous patches X-Git-Tag: v2.6.24-rc1~1395^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d617bc83ff48ebf0df253605529d8b3bef15773a;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed