mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
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: Christian König <christian.koenig@amd.com> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
eb923ea6fa
commit
63edf1b469
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue