diff options
| author | Aishwarya Pant <[email protected]> | 2017-03-12 21:09:31 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-14 07:57:53 +0800 |
| commit | 8f1fff07b07fdb15d1d585f6eb1ea56e748bc637 (patch) | |
| tree | 833b62a35e4bb7311419756110aa3a80c287ba8c /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 5e00b25853ef2d5602d14f0e6039268cc89e6afe (diff) | |
staging: bcm2835-audio: use conditional only for error case
* Refactor conditional to check if memory allocation has failed and
immediately return (-ENOMEM); if block for success case is removed.
* Return the error value -EBUSY when queue_work() fails.
Signed-off-by: Aishwarya Pant <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions