diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-10 11:41:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-10 11:41:49 -0700 |
commit | 56d95f3174450d22a3b8d936bea2cb414262ce8f (patch) | |
tree | c17942cfdf5adb196e9e080564a7e238ac5de226 /include/linux/usb/composite.h | |
parent | f639554b8a3a4aac18193a0c98a4639d432c48f0 (diff) | |
download | blackbird-op-linux-56d95f3174450d22a3b8d936bea2cb414262ce8f.tar.gz blackbird-op-linux-56d95f3174450d22a3b8d936bea2cb414262ce8f.zip |
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 <dan.carpenter@oracle.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/composite.h')
0 files changed, 0 insertions, 0 deletions