It might be a good idea to remove the dead code.
If only for the sake of anyone that might be maintaining it or re-using the code.
Oh, on the subject of re-use - -
You should probably indicate in the code what license you want applied.
If undecided, then consider the MIT license, which is most frequently used here.
https://opensource.org/licenses/MIT