diff options
| author | Stefan Wahren <[email protected]> | 2021-04-25 12:50:54 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-10 11:19:27 +0200 |
| commit | bd18b980a21d9654143e7b5167ab82e82c706798 (patch) | |
| tree | de19751a6dbf28b24bc1b468db9d61e3ae448c50 /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | bdf2b26de6124a175d03092e89610f15ebc6a733 (diff) | |
staging: vchiq_core: break early in vchiq_close_service_internal
The logic in VCHIQ_SRVSTATE_OPEN* is unnecessary complex. Handle the error
case of queue_message() first makes it easier to read.
Btw we get the rid of the checkpatch warning:
WARNING: else is not generally useful after a break or return
Reviewed-by: Nicolas Saenz Julienne <[email protected]>
Signed-off-by: Stefan Wahren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions