Keep things tidy; if the code is not being used, remove it. Don’t get attached. You have source control to look for it if you happen to need it again. Believe me, you won’t need it.
Dead code increases overhead, and understanding something unused will likely take some time.
Part of Tips for Software Engineers