[PATCH v2 1/4] i915: make inject_virtual_interrupt() void

Christian Brauner brauner at kernel.org
Fri Nov 24 00:11:56 AEDT 2023


> > +	if (!vgpu->msi_trigger)
> > +		return;
> > +	eventfd_signal(vgpu->msi_trigger, 1);
> >  }
> 
> I think it's a little simpler to write as
>     if (vgpu->msi_trigger)
>             eventfd_signal(vgpu->msi_trigger, 1);

Good point. I folded that suggestion into the patch.


More information about the Linuxppc-dev mailing list