[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 12/16] accel: Remove WHPX unreachable error path
- To: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>, qemu-devel@xxxxxxxxxx
- From: Richard Henderson <richard.henderson@xxxxxxxxxx>
- Date: Thu, 22 Jun 2023 19:48:29 +0200
- Cc: Reinoud Zandijk <reinoud@xxxxxxxxxx>, qemu-arm@xxxxxxxxxx, kvm@xxxxxxxxxxxxxxx, Marcel Apfelbaum <marcel.apfelbaum@xxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, Yanan Wang <wangyanan55@xxxxxxxxxx>, Peter Maydell <peter.maydell@xxxxxxxxxx>, Roman Bolshakov <rbolshakov@xxxxxxx>, Paolo Bonzini <pbonzini@xxxxxxxxxx>, Paul Durrant <paul@xxxxxxx>, Sunil Muthuswamy <sunilmut@xxxxxxxxxxxxx>, Alexander Graf <agraf@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Eduardo Habkost <eduardo@xxxxxxxxxxx>, Cameron Esfahani <dirty@xxxxxxxxx>
- Delivery-date: Thu, 22 Jun 2023 17:48:42 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 6/22/23 18:08, Philippe Mathieu-Daudé wrote:
g_new0() can not fail. Remove the unreachable error path.
https://developer-old.gnome.org/glib/stable/glib-Memory-Allocation.html#glib-Memory-Allocation.description
Reported-by: Richard Henderson <richard.henderson@xxxxxxxxxx>
Signed-off-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
---
target/i386/whpx/whpx-all.c | 6 ------
1 file changed, 6 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@xxxxxxxxxx>
r~
|