diff options
| author | Johannes Berg <[email protected]> | 2019-03-01 13:24:47 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-01 18:08:06 +0100 |
| commit | 36cf3b1363f464c40f6ce647d3ac0ae9617d5fbc (patch) | |
| tree | 1de22749783d9a27511f50ae1d51e965ce6ade36 /tools/perf/scripts/python | |
| parent | 2c1ea6abde8884208a9b94254740ae4597c62000 (diff) | |
driver core: platform: remove misleading err_alloc label
In platform_device_register_full() the err_alloc label is
misleading, we only ever jump to it if the pdev is NULL,
but it then proceeds to free it, which is a no-op.
Remove the label and simply exit the function immediately.
Signed-off-by: Johannes Berg <[email protected]>
Reviewed-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions