]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/gt: Replace 'return' with a fall-through
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 22 Jan 2021 19:29:13 +0000 (19:29 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Mar 2021 18:30:35 +0000 (19:30 +0100)
commit041b7f07628969e2c266565d7ecf5b6e44979027
treeb90d7803ceecf4231b0c2300369755d678355bb4
parent32ce590bdd34f7603ca8e2b490c9227aa52fb5a6
drm/i915/gt: Replace 'return' with a fall-through

Checkpatch worries that the 'return' before an else clause might be
redundant. In this case, it is avoiding hitting the MISSING_CASE()
warning. Let us appease checkpatch by falling through to the end of the
function, which typically means that we then clean up the unused
wa_list.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210122192913.4518-10-chris@chris-wilson.co.uk
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/gt/intel_workarounds.c