We do not currently know of any antonyms for serving a purpose.
For similar words to serving a purpose, try: