Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63edf1b4 authored by SF Markus Elfring's avatar SF Markus Elfring Committed by Alex Deucher
Browse files

drm/amd/powerplay: Delete an unnecessary variable initialisation in phm_dispatch_table()



The variable "result" will be set to an appropriate value a bit later.
Thus omit the explicit initialisation at the beginning.

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent eb923ea6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ int phm_dispatch_table(struct pp_hwmgr *hwmgr,
		       struct phm_runtime_table_header *rt_table,
		       void *input, void *output)
{
	int result = 0;
	int result;
	void *temp_storage;

	if (hwmgr == NULL || rt_table == NULL) {