[Skiboot] [PATCH 1/2] Fix scan-build warning of value stored to event is never used

Jeremy Kerr jk at ozlabs.org
Tue Sep 1 14:03:36 AEST 2015


Hi Stewart,

> In send_pending_events() we set event to the type of event received
> yet did nothing with it.
> 
> This seems to be a left over bit of code, as what does happen is on
> consuming the message (prd_msg_consumed) we'll clear the event bit
> and then send the next event:

Yep, that's correct!

Acked-by: Jeremy Kerr <jk at ozlabs.org>

Cheers,


Jeremy


More information about the Skiboot mailing list