summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-07-21 17:36:45 +0530
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-21 15:49:36 +0200
commit9aaffa340add31aeb4449667da8779df448b7987 (patch)
tree32f8f2e4cc02121a68955a4cae3dca12868f7bd3 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent84e81020ee237df8af359c552b503db476b776ea (diff)
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions