]> Git Repo - qemu.git/blobdiff - kvm-all.c
include: import virtio headers from linux 4.0
[qemu.git] / kvm-all.c
index 2f21a4e6fed08bb001ad99ab1e838580da771a01..05a79c20e0bbabfd8e46515001e9b30d6f7e0a0e 100644 (file)
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -2070,10 +2070,6 @@ int kvm_insert_breakpoint(CPUState *cpu, target_ulong addr,
         }
 
         bp = g_malloc(sizeof(struct kvm_sw_breakpoint));
-        if (!bp) {
-            return -ENOMEM;
-        }
-
         bp->pc = addr;
         bp->use_count = 1;
         err = kvm_arch_insert_sw_breakpoint(cpu, bp);
This page took 0.023578 seconds and 4 git commands to generate.