Commit 19d5f801 authored by Dembskiy Igor's avatar Dembskiy Igor Committed by Alex Deucher
Browse files

drm/amd/display: remove useless check in should_enable_fbc()

It does not make sense to compare a pointer to array element with NULL.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 65d38262

 ("drm/amd/display: fbc state could not reach while enable fbc")
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarDembskiy Igor <dii@itb.spb.ru>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 63461ea3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment