]> git.baikalelectronics.ru Git - kernel.git/commit
sti: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2019 11:46:18 +0000 (13:46 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 13 Jun 2019 15:35:49 +0000 (17:35 +0200)
commit00430f3de8849ea29a94c2cc1fb848271ddec56a
treed8a496ffe580a97af54ffb215d7e743ff7dd2ce2
parent6d8584e8600738121cab21b35f7cd9fa73ff1ed7
sti: 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: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
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: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190613114618.GD13119@kroah.com
drivers/gpu/drm/sti/sti_drv.c