EventManager: Remove test for NULL pointer in constructor
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 21 Aug 2012 09:49:18 +0000 (05:49 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 21 Aug 2012 09:49:18 +0000 (05:49 -0400)
commit4be1ae3cf874292e95afdf9811c51533bcde79f7
tree30bbf073f78dd1d67c3a6cd810f4e70f5b576037
parent016593f2e91564dc9d675ae42dfd37059f9b5589
EventManager: Remove test for NULL pointer in constructor

This patch tidies up the EventManager constructor and prunes a corner
case where the EventManager would initialise its eventq pointer to
NULL. This would cause segmentation faults on actual use and should
never happen.
src/sim/eventq.hh