diff options
| author | Alexander Shishkin <[email protected]> | 2012-06-29 17:48:49 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-07-06 10:58:38 -0700 |
| commit | b7283d5a044c010d5e68afccc0598846f254db7b (patch) | |
| tree | b6c77944d2d880bed6845e2f362c1f2c4a8857ce /tools/perf/scripts/python | |
| parent | 3d97ff63f8997761f12c8fbe8082996c6eeaba1a (diff) | |
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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Richard Zhao <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions