]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5cb063307eeeebba53fc8111952b5acb9526ba71
treef88ed812a1bf5bb659f4d13a88a7565f29081fbb
parent9abed51c11001e582d5ba91e1be888d9acbb5e93
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