diff options
| author | Greg Kroah-Hartman <[email protected]> | 2019-06-13 15:34:19 +0200 |
|---|---|---|
| committer | Zhenyu Wang <[email protected]> | 2019-08-13 17:55:06 +0800 |
| commit | f8871ec8fc73f57295703a8d61c8c33d7ab4805b (patch) | |
| tree | 03f41469f8dc0495f6529beb43b195b5230028c4 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | e14006d939fea6d89ddcbb40a72f5c0089a28c85 (diff) | |
drm/i915/gvt: no need to check return value of debugfs_create functions
When calling debugfs functions, there is no need to ever check the
return value. The function can work or not, but the code logic should
never do something different based on this.
Because there is no need to check these functions, a number of local
functions can be made to return void to simplify things as nothing can
fail.
Cc: Zhenyu Wang <[email protected]>
Cc: Zhi Wang <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Zhenyu Wang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions