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)
commitcfafe238b585962089b8c7174315761f6b31e9d6
treecba7da0db46d49b04d64be85dcb87b920a35d1c6
parent87d6883b327eef30b56e0a6bca9d5c9800ab6462
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