From: Greg Kroah-Hartman Date: Thu, 10 May 2012 18:41:49 +0000 (-0700) Subject: USB: gadget: ci13xx_pci: remove unneeded check in ci13xxx_pci_probe() X-Git-Tag: v3.5-rc1~149^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56d95f3174450d22a3b8d936bea2cb414262ce8f;p=pandora-kernel.git USB: gadget: ci13xx_pci: remove unneeded check in ci13xxx_pci_probe() As pointed out by Dan Carpenter, the check for NULL for the id variable is no longer needed, especially as we just dereferenced it a few lines earlier, causing an oops if it really was NULL. This was caused by 62bb84ed0e4d: "usb: gadget: ci13xxx: convert to platform device". Reported-by: Dan Carpenter Cc: Alexander Shishkin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed