diff options
author | Michał Winiarski <michal.winiarski@intel.com> | 2022-08-17 23:12:36 +0200 |
---|---|---|
committer | Maíra Canal <mairacanal@riseup.net> | 2022-09-01 08:45:24 -0300 |
commit | 169a32b76842c10fbe532cde6cc25e89bbf54341 (patch) | |
tree | c3232cf9dfbf2aead6fd3040fb1f4b8a9468db8c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0af02a0e52030ca0b5acc4da6d3ee3303077277c (diff) |
drm/cmdline-parser: Use assert when needed
Expecting to observe a specific value, when the function responsible for
setting the value has failed will lead to extra noise in test output.
Use assert when the situation calls for it.
Also - very small tidying up around the changed areas (whitespace).
v2: Leave out the locals (drm_connector is huge) (lkp)
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Maíra Canal <mairacanal@riseup.net>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20220817211236.252091-2-michal.winiarski@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions