queue: remove unnecessary error checking