mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
drm/amdgpu: Clean the functions pointer set as NULL
We dont need to set the functions to NULL which arent needed as global structure members are by default set to zero or NULL for pointers. Cc: Leo Liu <leo.liu@amd.com> Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
8231e3af96
commit
0016e87054
@@ -2220,7 +2220,6 @@ static void vcn_v4_0_dump_ip_state(struct amdgpu_ip_block *ip_block)
|
||||
static const struct amd_ip_funcs vcn_v4_0_ip_funcs = {
|
||||
.name = "vcn_v4_0",
|
||||
.early_init = vcn_v4_0_early_init,
|
||||
.late_init = NULL,
|
||||
.sw_init = vcn_v4_0_sw_init,
|
||||
.sw_fini = vcn_v4_0_sw_fini,
|
||||
.hw_init = vcn_v4_0_hw_init,
|
||||
@@ -2229,10 +2228,6 @@ static const struct amd_ip_funcs vcn_v4_0_ip_funcs = {
|
||||
.resume = vcn_v4_0_resume,
|
||||
.is_idle = vcn_v4_0_is_idle,
|
||||
.wait_for_idle = vcn_v4_0_wait_for_idle,
|
||||
.check_soft_reset = NULL,
|
||||
.pre_soft_reset = NULL,
|
||||
.soft_reset = NULL,
|
||||
.post_soft_reset = NULL,
|
||||
.set_clockgating_state = vcn_v4_0_set_clockgating_state,
|
||||
.set_powergating_state = vcn_v4_0_set_powergating_state,
|
||||
.dump_ip_state = vcn_v4_0_dump_ip_state,
|
||||
|
||||
Reference in New Issue
Block a user