Skip to content
Commit c688c641 authored by Muhammad Falak R Wani's avatar Muhammad Falak R Wani Committed by Alex Deucher
Browse files

drm/amd/powerplay/hwmgr: use kmemdup



Use kmemdup when some other buffer is immediately copied into allocated
region. It replaces call to allocation followed by memcpy, by a single
call to kmemdup.

Signed-off-by: default avatarMuhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 510e65df
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