xhci: Redundant check in xhci_check_args for xhci->devs
authorsifram.rajas@gmail.com <sifram.rajas@gmail.com>
Fri, 2 Sep 2011 18:06:00 +0000 (11:06 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Sep 2011 22:52:54 +0000 (15:52 -0700)
commit73ddc2474bcc5234fa0a4e406e015ed16d16b6c8
treef88ed812a1bf5bb659f4d13a88a7565f29081fbb
parent2ffdea25f054439c31c24b248faa647685280571
xhci: Redundant check in xhci_check_args for xhci->devs

The xhci_hcd->devs is an array of pointers rather than pointer to pointer.
Hence this check is not required.

Signed-off-by: Sifram Rajas <Sifram Rajas sifram.rajas@gmail.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci.c