diff options
| author | Dan Carpenter <[email protected]> | 2019-03-07 16:28:28 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-03-07 18:32:00 -0800 |
| commit | 488cf83380b72270b70a80de1eaff53899b1febb (patch) | |
| tree | 12ad3bc9bc39037557f18d45ecad3d8cf33a40c3 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 76c37f74890359c96ff8da16749bfecd3562313d (diff) | |
lib/test_firmware.c: remove some dead code
The test_fw_config->reqs allocation succeeded so these addresses can't
be NULL.
Also on the second error path, we forgot to set "rc = -ENOMEM;".
Link: http://lkml.kernel.org/r/20190221183700.GA1737@kadam
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: "Luis R. Rodriguez" <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions