]> 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)
commit5bd609f82e1f2f8a2e701d18e7643633ddfbfc52
treed8a496ffe580a97af54ffb215d7e743ff7dd2ce2
parentc3a7977d01b8a650a3e73121a08fbbaf0ba086bb
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