aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2018-04-23 07:22:19 -0400
committerMauro Carvalho Chehab <[email protected]>2018-05-04 08:59:37 -0400
commit366b401001df15e4f493a585ff94a7399d7fae07 (patch)
treee1c61f664f46eb4ea04a5643c0c6a670e259b9fc /tools/perf/scripts/python
parentfd901b6e814afcbd54ca65a854f666bd6fe98b8f (diff)
media: davinci: don't override the error code
As warned by Coverity: CID 1415211 (#1 of 1): Unused value (UNUSED_VALUE)assigned_value: Assigning value -22 to ret here, but that stored value is overwritten before it can be used. On all cases where the there's a goto 'unlock_out' or 'streamof', ret was filled with a non-sero value. It toesn't make sense to override such error code with a videobuf_streamoff() error. Signed-off-by: Mauro Carvalho Chehab <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions