diff options
| author | Finn Thain <[email protected]> | 2016-01-03 16:05:15 +1100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-01-06 21:42:54 -0500 |
| commit | 6323876f5539e808a293395b1960427c62d2436d (patch) | |
| tree | 2fcf1bf178a075b7e048263f83af6ea52e48940e /tools/perf/scripts/python | |
| parent | 206cc031ad591f2759ba4e82d35fbb2050a2648b (diff) | |
ncr5380: Use return instead of goto in NCR5380_select()
The "failed" label in NCR5380_select() is not helpful. Some failures
return 0, others -1. Use return instead of goto to improve clarity and
brevity, like atari_NCR5380.c does. Fix the relevant comments.
Signed-off-by: Finn Thain <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Ondrej Zary <[email protected]>
Tested-by: Michael Schmitz <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions