]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2019 11:45:48 +0000 (13:45 +0200)
committerEric Anholt <eric@anholt.net>
Fri, 14 Jun 2019 23:21:45 +0000 (16:21 -0700)
commit65b54a8a76fb71b6a79af5e8e32386cfbcd16c71
tree2c3404defd95cf75e67f348fdc0a13b46489eff5
parenta829e95ae70e9a4942bb44460ceaebf86de03cae
drm/vc4: no need to check return value of debugfs_create functions

When calling debugfs functions, there is no need to ever check the
return value.  The function can work or not, but the code logic should
never do something different based on this.

Reviewed-by: Eric Anholt <eric@anholt.net>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190613114548.GC13119@kroah.com
drivers/gpu/drm/vc4/vc4_debugfs.c