drm/i915: Remove unused variable ret
authorZou Wei <zou_wei@huawei.com>
Thu, 29 Oct 2020 02:18:45 +0000 (10:18 +0800)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 29 Oct 2020 13:17:37 +0000 (15:17 +0200)
commitbd0cef2a797ac59a103c887b7864b6cf7bd5b512
tree1b459a6f1ad8fb012d08e68b569fd966f691c7f9
parent00e5deb5c4f5fe367311465e720e65cfa1178792
drm/i915: Remove unused variable ret

This patch fixes below warnings reported by coccicheck

./drivers/gpu/drm/i915/i915_debugfs.c:789:5-8: Unneeded variable: "ret". Return "0" on line 1012

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1603937925-53176-1-git-send-email-zou_wei@huawei.com
drivers/gpu/drm/i915/i915_debugfs.c