diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-07-21 15:06:45 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-07-21 16:49:36 +0300 |
commit | 9aaffa340add31aeb4449667da8779df448b7987 (patch) | |
tree | 32f8f2e4cc02121a68955a4cae3dca12868f7bd3 /scripts/gdb/linux/utils.py | |
parent | 84e81020ee237df8af359c552b503db476b776ea (diff) | |
download | linux-9aaffa340add31aeb4449667da8779df448b7987.tar.xz |
drm/i915: remove unnecessary null test
While creating the debugfs file we are setting the inode->i_private to
dev. That same dev is passed to these functions as private of struct
seq_file via single_open(). Moreover single_open is setting
file->private_data->private to dev.
So at this point it can never be NULL.
This check was added by commit eb3394faeb97 ("drm/i915: Add debugfs test
control files for Displayport compliance testing")
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions