Re: [PATCH] drm/amdgpu/smu10: remove duplicate assignment of smu10_hwmgr_funcs members

2020-04-29 Thread Alex Deucher
On Tue, Apr 28, 2020 at 8:47 AM Jason Yan wrote: > > The struct member 'asic_setup' was assigned twice, let's remove one: > > static const struct pp_hwmgr_func smu10_hwmgr_funcs = { > .. > .asic_setup = NULL, > .. > .asic_setup = smu10_setup_asic_task, >

[PATCH] drm/amdgpu/smu10: remove duplicate assignment of smu10_hwmgr_funcs members

2020-04-28 Thread Jason Yan
The struct member 'asic_setup' was assigned twice, let's remove one: static const struct pp_hwmgr_func smu10_hwmgr_funcs = { .. .asic_setup = NULL, .. .asic_setup = smu10_setup_asic_task, .. }; This fixes the following coccicheck warning: