From: Laurent Pinchart Date: Tue, 20 Jan 2015 22:56:04 +0000 (+0200) Subject: usb: isp1760: Remove duplicate usb_disabled() check X-Git-Tag: fixes-v4.0-rc1~102^2^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f8d9b9b503070e5450f49e0a341ac3b43d9164d;p=pandora-kernel.git usb: isp1760: Remove duplicate usb_disabled() check Both isp1760_register() and isp1761_pci_probe() check whether USB is disabled by calling usb_disabled(), and bail out with an error if it is. One check is enough, remove the PCI-specific check. Signed-off-by: Laurent Pinchart Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed