]> git.baikalelectronics.ru Git - kernel.git/commit
xhci-mem.c: xhci_segment_free: No need for checking seg argument
authorKautuk Consul <consul.kautuk@gmail.com>
Mon, 19 Sep 2011 23:53:16 +0000 (16:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 20 Sep 2011 19:40:32 +0000 (12:40 -0700)
commit358c7814aace7bf74433719b787fa5e5e7ad3489
tree0f67873afbf80e95da39ef76b60538af939b4384
parent74278c36a35e69cef70e5a4f8a1e7e76b06799ac
xhci-mem.c: xhci_segment_free: No need for checking seg argument

The seg argument to xhci_segment_free is never passed as NULL, so
no need to check for this in xhci_segment_free.

Signed-off-by: Kautuk Consul <consul.kautuk@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-mem.c