]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/nouveau: remove checks for return value of debugfs functions
authorWambui Karuga <wambui.karugax@gmail.com>
Tue, 18 Feb 2020 17:28:17 +0000 (20:28 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Apr 2020 04:37:49 +0000 (14:37 +1000)
commite18c6e8b6f5b567c54cbdf422c89c877d49e9c4e
treecffffb7ce5ac1a08da59c52c6d029ffbc655c9d0
parent8a39db76e79ef502f5d2c1865358e9025b5fa38a
drm/nouveau: remove checks for return value of debugfs functions

As there is no need to check for the return value of debugfs_create_file
and drm_debugfs_create_files, remove unnecessary checks and error
handling in nouveau_drm_debugfs_init.

Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_debugfs.c