aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorStefan Brüns <[email protected]>2019-05-19 07:18:29 -0400
committerMauro Carvalho Chehab <[email protected]>2019-05-22 15:29:41 -0400
commitdd5f551b58a8b557fd7fc93f238dc0dc29526e32 (patch)
treecb484e39bd942e1b4025363a179b674a1311e839 /tools/perf/scripts/python/export-to-sqlite.py
parent6d0d1ff9ff21fbb06b867c13a1d41ce8ddcd8230 (diff)
media: dvb-usb-v2: Report error on all error paths
actual_length != wlen is the only error path which does not generate an error message. Adding an error message here allows to report a more specific error and to remove the error reporting from the call sites. Also clean up the error paths - in case of an error, the remaining code is skipped, and ret is returned. Skip setting ret and return immediately (no cleanup necessary). Signed-off-by: Stefan Brüns <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions