diff options
| author | Wambui Karuga <[email protected]> | 2020-03-10 13:31:15 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-03-18 15:26:58 +0000 |
| commit | 0567776b698bb2eec92ab55e603c5af07d0a51d0 (patch) | |
| tree | ff4e91180e9e74cf49d7af6761cb21ac1da749ff /drivers/gpu/drm/omapdrm/omap_debugfs.c | |
| parent | drm/vram-helper: make drm_vram_mm_debugfs_init() return 0 (diff) | |
| download | kernel-0567776b698bb2eec92ab55e603c5af07d0a51d0.tar.gz kernel-0567776b698bb2eec92ab55e603c5af07d0a51d0.zip | |
drm/nouveau: make nouveau_drm_debugfs_init() return 0
Since 987d65d01356 (drm: debugfs: make
drm_debugfs_create_files() never fail), there is no need to ever check
for the the return value of debugfs_create_file() and
drm_debugfs_create_files(). Therefore, remove unnecessary checks and
error handling in nouveau_drm_debugfs_init() and have the function
return 0 directly.
v2: have nouveau_drm_debugfs_init() return 0 instead of void so as not
to introduce any build warnings to enable individual patch compilation.
References: https://lists.freedesktop.org/archives/dri-devel/2020-February/257183.html
Signed-off-by: Wambui Karuga <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_debugfs.c')
0 files changed, 0 insertions, 0 deletions
