Removed unused global in jobs-loop (only local one matters).

Change-Id: Ie2b7db9b438b4c2c8615eaaaccffd10093f9cf99