From: Wei Yongjun Date: Thu, 8 Nov 2012 08:27:33 +0000 (+0800) Subject: usb: host: tegra: remove pointless NULL check in tegra_ehci_remove() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~82^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70847780dca19f3707d9fa433f68edf8cbaf91f2;p=pandora-kernel.git usb: host: tegra: remove pointless NULL check in tegra_ehci_remove() Test for tegra and hcd in tegra_ehci_remove() look like potential NULL pointer dereference, but in fact those tests are not needed, so remove these pointless tests entirely. Signed-off-by: Wei Yongjun Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed