drm/amd/pm: Remove unnecessary cast
authorAlex Dewar <alex.dewar90@gmail.com>
Thu, 20 Aug 2020 17:58:06 +0000 (18:58 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Aug 2020 16:23:29 +0000 (12:23 -0400)
commit4c319bbebef5491c1305d7b56e708f566f83d14a
tree537121419be53e63ad721773b91eb394d8857c47
parent26902e8c58c8e147ca126c83a9ba3f3ac8c5cc7b
drm/amd/pm: Remove unnecessary cast

In init_powerplay_table_information() the value returned from kmalloc()
is cast unnecessarily. Remove cast.

Issue identified with Coccinelle.

Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_processpptables.c