From: Shubhrajyoti D Date: Tue, 7 Aug 2012 14:26:30 +0000 (+0530) Subject: usb: otg: Remove the unneeded NULL check X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~60^2~4^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df6791d7042d839b68c58cd7dc3699f9ae5a8f22;p=pandora-kernel.git usb: otg: Remove the unneeded NULL check The function usb_add_phy trusts the sanity of the caller. Also it accesses x after the NULL check. Remove the unneeded check. Signed-off-by: Shubhrajyoti D Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed