msm: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2019 12:24:02 +0000 (14:24 +0200)
committerRob Clark <robdclark@chromium.org>
Tue, 18 Jun 2019 20:45:14 +0000 (13:45 -0700)
commitc8bffdcb25ea548b03ccdfa00d19f471010919bc
treef9f5c17da5235ec17e4560ce5a9f844aa34cf5db
parent7aca4d65e7052c1b9905653c948fc6ffc05bfb02
msm: 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: Rob Clark <robdclark@gmail.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: linux-arm-msm@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: freedreno@lists.freedesktop.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[small fixup for unused variable warning]
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_perf.c
drivers/gpu/drm/msm/msm_rd.c