Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #2103: qemu/target/ppc/mem_helper.c remove redundant returns #2104

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions qemu/target/ppc/mem_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@ uint64_t helper_lq_le_parallel(CPUPPCState *env, target_ulong addr,
return int128_getlo(ret);
#else
g_assert_not_reached();
return 0;
#endif
}

Expand All @@ -404,7 +403,6 @@ uint64_t helper_lq_be_parallel(CPUPPCState *env, target_ulong addr,
return int128_getlo(ret);
#else
g_assert_not_reached();
return 0;
#endif
}

Expand All @@ -420,7 +418,6 @@ void helper_stq_le_parallel(CPUPPCState *env, target_ulong addr,
helper_atomic_sto_le_mmu(env, addr, val, opidx, GETPC());
#else
g_assert_not_reached();
return 0;
#endif
}

Expand All @@ -436,7 +433,6 @@ void helper_stq_be_parallel(CPUPPCState *env, target_ulong addr,
helper_atomic_sto_be_mmu(env, addr, val, opidx, GETPC());
#else
g_assert_not_reached();
return 0;
#endif
}
#endif
Expand Down Expand Up @@ -465,7 +461,6 @@ uint32_t helper_stqcx_le_parallel(CPUPPCState *env, target_ulong addr,
return env->so + success * CRF_EQ_BIT;
#else
g_assert_not_reached();
return 0;
#endif
}

Expand All @@ -492,7 +487,6 @@ uint32_t helper_stqcx_be_parallel(CPUPPCState *env, target_ulong addr,
return env->so + success * CRF_EQ_BIT;
#else
g_assert_not_reached();
return 0;
#endif
}

Expand Down
Loading