Etymology
Today it means: In an unuseful manner. Full definition →
From unuseful + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.