]> asedeno.scripts.mit.edu Git - linux.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)
commit150c6624a6fa4323401f88c56cd38aad588afaad
treed8a496ffe580a97af54ffb215d7e743ff7dd2ce2
parentb792e64021ecdefd27b84eb235d59b0476d4255c
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