pointlessly
verb
°Without point; in a pointless manner; so as to lack purpose or importance.
"He sat there, pointlessly tossing the ball into the air and letting it fall, over and over."