diff options
| author | Michal Nazarewicz <[email protected]> | 2014-08-27 22:58:48 +0200 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2014-09-02 09:16:47 -0500 |
| commit | 4953ef658910416655cdb4b61618458aa11302ab (patch) | |
| tree | 81d62c68c8adb408e6371c96f351ec109cfc50b1 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | b9a4274699c6973f62979d664cbe7c9aca4f6a9a (diff) | |
usb: gadget: f_mass_storage: simplify start_transfer slightly
Flatten the start_transfer function by reversing the if condition and
returning early out of the function if everything went fine. It makes
the function look less complicated, at least to me, and easier to
understand.
Signed-off-by: Michal Nazarewicz <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions