Removed unneccesay code in flashing checker.