diff options
| author | Dan Carpenter <[email protected]> | 2020-11-17 10:21:37 +0300 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2020-11-29 23:03:18 +0100 |
| commit | eba0d703b3ca5f1f24df3798c936906f2da39058 (patch) | |
| tree | 3bf939caf6b42a40bfdf6147c3e341cababc512a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 95e22f8ca15abebde8772c75d82992da8d091d3f (diff) | |
drm/kmb: Remove an unnecessary NULL check
The NULL checking isn't done consistently in this function and it leads
to a static checker warning:
drivers/gpu/drm/kmb/kmb_drv.c:561 kmb_pm_suspend()
error: we previously assumed 'drm' could be null (see line 559)
Fortunately "drm" cannot be NULL at this point so the check can just be
removed.
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Anitha Chrisanthus <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20201117072137.GB1111239@mwanda
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions