From: Markus Elfring Date: Thu, 5 Feb 2015 15:54:12 +0000 (+0100) Subject: USB: whci-hcd: Delete an unnecessary check before the function call "usb_put_hcd" X-Git-Tag: omap-for-v4.2/o2_dc~157^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28ed20755897b3726f07a0418c3d2fe17b3e5c86;p=pandora-kernel.git USB: whci-hcd: Delete an unnecessary check before the function call "usb_put_hcd" The usb_put_hcd() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed