x86emul: drop stray NULL check ->read is required to be non-NULL, and is not being checked anywhere else. Signed-off-by: Jan Beulich --- a/xen/arch/x86/x86_emulate/x86_emulate.c +++ b/xen/arch/x86/x86_emulate/x86_emulate.c @@ -1686,8 +1686,6 @@ static int inject_swint(enum x86_swint_t ((ctxt->regs->eflags & EFLG_IOPL) != EFLG_IOPL) ) goto raise_exn; - fail_if(ops->read == NULL); - /* * Read all 8/16 bytes so the idtr limit check is applied properly * to this entry, even though we only end up looking at the 2nd