Skip to content

Commit c99a604

Browse files
lyakhcarlescufi
authored andcommitted
ace: remove superfluous variable initialisation
'ret' in pm_state_set() is always set before it's used, no need to initialise it. Signed-off-by: Guennadi Liakhovetski <[email protected]>
1 parent a1fd8cd commit c99a604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soc/xtensa/intel_adsp/ace/power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ void pm_state_set(enum pm_state state, uint8_t substate_id)
235235
{
236236
ARG_UNUSED(substate_id);
237237
uint32_t cpu = arch_proc_id();
238-
int ret = 0;
238+
int ret;
239239

240240
ARG_UNUSED(ret);
241241

0 commit comments

Comments
 (0)