]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2019 14:52:29 +0000 (17:52 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 17 Jun 2019 12:53:08 +0000 (15:53 +0300)
commit8191307d15959fa24e443cece264b250740670cd
tree193f55ad7c654c68092f27d34186e8d2d2a704f3
parente85a9a6aa79a322a8a89c39d259c5f49ffe7fbcc
drm/i915: 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.

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190613145229.21389-1-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_debugfs.c