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

From: Christian Brauner
Date: Thu Nov 23 2023 - 08:12:21 EST


> > + 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.