I'm not sure if I would use no longer needed if I edited the comment into the question. Instead I would use a custom flag to explain that the comment is now edited into the post and can be deleted. The reason for this is to provide enough context in the flag for the mod to act instead of relying on them noticing you just edited the post.
As for your comment:
I add your comment to the question to make more sense ;)
That is just adding comment noise, basically replacing one with the other. It is superfluous anyway as the OP will get an inbox notification that their post is edited. If you left a descriptive edit comment (not deleted 8 characters in body; edited title) the OP will know what happened. And editors are pingable on a post they edited so if they want to complain to you or praise you they can leave a comment and ping you.
shameless plug of slightly related userscript
I use a small usersscript to have some canned messages just a mouse click away for various common situations when I do a total comment clean-up under a post (4 or more comments to be removed):
- purge all
All comments here are either too chatty or obsolete. Please purge them all
- debug session
All comments here are a back and forth debug session with the outcome captured in the answer. The comments served their goal. Please purge them all.
- resolved in edit
All comments here are resolved in an edit of the answer. The comments are too chatty or obsolete. Please purge them all.
- debug noise
All comments here are an one sided debug attempt without resolution and is nothing more then noise. Please purge them all.
screenshot of the script in action