diff options
| author | Uwe Kleine-König <[email protected]> | 2023-03-26 16:31:10 +0200 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-04-11 16:59:16 +0200 |
| commit | d80250819e59c76ee447fd58cbffb6f750a21918 (patch) | |
| tree | 27642e5e255e2cccfc253998743fcc524e129f82 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 428bbf4be4018aefa26e4d6531779fa8925ecaaf (diff) | |
media: venus: Warn only once about problems in .remove()
The only effect of returning an error code in a remove callback is that
the driver core emits a warning. The device is unbound anyhow.
As the remove callback already emits a (quite verbose) warning when ret
is non-zero, return zero to suppress the additional warning.
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions