[PATCH 1/2] drm/debugfs: remove checks for return value of drm_debugfs functions.

2020-02-19 Thread Wambui Karuga
As there is no need to check the return value of drm_debugfs_create_files, remove unnecessary checks and error handling statement blocks. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/drm_debugfs.c | 28 +--- 1 file changed, 5 insertions(+), 23 deletions(-) diff

Re: [PATCH 1/2] drm/debugfs: remove checks for return value of drm_debugfs functions.

2020-02-18 Thread Daniel Vetter
On Tue, Feb 18, 2020 at 08:28:14PM +0300, Wambui Karuga wrote: > As there is no need to check the return value of > drm_debugfs_create_files, remove unnecessary checks and error handling > statement blocks. > > Signed-off-by: Wambui Karuga I'd split this up a bit differently, with a patch per