From: Alexander Shishkin Date: Fri, 29 Jun 2012 09:48:49 +0000 (+0800) Subject: usb: chipidea: remove unneeded NULL check X-Git-Tag: v3.6-rc1~101^2~53^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7283d5a044c010d5e68afccc0598846f254db7b;p=pandora-kernel.git usb: chipidea: remove unneeded NULL check As reported by Dan Carpenter, there is a NULL check in udc_start() that follows a dereference of the pointer that's being checked. However, at that point udc pointer shouldn't ever be NULL and if it is, the dereference should cause an oops. Signed-off-by: Alexander Shishkin Reported-by: Dan Carpenter Acked-by: Felipe Balbi Signed-off-by: Richard Zhao Acked-by: Marek Vasut Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed