]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove an unnecessary NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Jul 2020 10:57:00 +0000 (13:57 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jul 2020 18:38:56 +0000 (14:38 -0400)
commit7689e67ff798c3cb27639769ef9c46bd8a785291
treecba7da0db46d49b04d64be85dcb87b920a35d1c6
parenta7078d947086bba02689d489865bddfeab498d30
drm/amd/display: remove an unnecessary NULL check

The "stream" pointer can't be NULL and it's dereferenced on the line
before so the check doesn't make sense.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c