commit | 70847780dca19f3707d9fa433f68edf8cbaf91f2 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Thu Nov 08 16:27:33 2012 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 14 12:14:11 2012 -0800 |
tree | abcda945fba6a857359dbde13587cbc8b3056deb | |
parent | b240add62c7c0e15bfaba59fa37bd44480e31681 [diff] |
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 <yongjun_wei@trendmicro.com.cn> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>