eventdev: fix possible use of uninitialized var