[PATCH] drm/amd/pm: Remove unnecessary cast

2020-08-21 Thread Alex Dewar
In init_powerplay_table_information() the value returned from kmalloc() is cast unnecessarily. Remove cast. Issue identified with Coccinelle. Signed-off-by: Alex Dewar --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_processpptables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] drm/amd/pm: Remove unnecessary cast

2020-08-20 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Aug 20, 2020 at 1:59 PM Alex Dewar wrote: > > In init_powerplay_table_information() the value returned from kmalloc() > is cast unnecessarily. Remove cast. > > Issue identified with Coccinelle. > > Signed-off-by: Alex Dewar > --- >